What will be the output of the following C# code? [code] static void Main(string[] args) { string s1 = "Delhi"; string s2;

Phương Linh

New member
What will be the output of the following C# code?
Code:
static void Main(string[] args)
{
    string s1 = "Delhi";
    string s2;
    s2 = s1.Insert (6, "Jaipur");
    Console.WriteLine(s2);
}
A. DelhJaipuri
B. Delhi Jaipur
C. Delhi
D.
Code:
DelhiJaipur
 

Tìm kiếm

Back
Top