A
Q. 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);
}
{
string s1 = "Delhi";
string s2;
s2 = s1.Insert (6, "Jaipur");
Console.WriteLine(s2);
}
- Correct Answer - Option(D)
- Views: 7
- Filed under category C# (C Sharp)
- Hashtags:
Discusssion
Login to discuss.