# Exercise 4
What is the output of following program?
using System;
class MainClass
{
public static void Main ()
{
Console.WriteLine("My name is {0}.\nHello {0}!", "Talha", "Mansoor");
}
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
Explain the output.
← Exercise 3 Exercise 5 →