Q. What will be the output of the following C# code?
Code:
using System;
namespace MyApplication {
class Program {
static void Main(string[] args) {
string[] mobiles = { "iPhone", "Samsung", "Vivo"};
Console.WriteLine(mobiles);
}
}
}
β
Correct Answer: (D)
System.String[]