What will be the output of the following C# code snippet? [code] class Program { static void Main(string[] args) { String

What will be the output of the following C# code snippet?
Code:
class Program
{
    static void Main(string[] args)
    {
        String s1 = "one";
        String s2 = string.Concat(s1 + " " + "two");
        Console.WriteLine(s2);
        Console.ReadLine();
    }
}
A. one
B. two
C. one two
D. two one
 

Tìm kiếm

Back
Top