# Exercise 5
What is the output of following program? Explain the output.
using System;
class MainClass
{
public static void Main ()
{
string name = "Saqid";
short age = 42;
string country = "πΊπΈ";
Console.WriteLine("{0} is {1} years old.", name, age);
Console.WriteLine("He lives in {0}.", country);
Console.WriteLine("He likes to eat {0} and {1}.", "π", "π");
Console.WriteLine("{0} {1}!", "Ψ³ΩΨ§Ω
", name);
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
β Exercise 4 Exercise 6 β