Examveda

What will be the output of the following C# code snippet?
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

Answer: Option C


This Question Belongs to C Sharp Programming >> Miscellaneous In C Sharp

Join The Discussion

Related Questions on Miscellaneous in C Sharp