0
Attempted
15
Not Attempted
0
Marked For Review
0
Attempted & Reviewed
What will be the output of the following program?
using System; class Program
{
static void Main(string[] args)
{
String[] s = new String[2]; s[0] = Hello; s[1] = How are you!; foreach (string name: s)
{
Console.WriteLine( + name);
}
Console.ReadLine();
}
}
Select Your Answer:
All Questions
Attempted
Not Attempted
Marked for Review
Attempted & Reviewed
Current