Vidyalelo
C# Programming · Q62

Basic Syntax and Data Types in C Sharp

Programming · C# Programming · question 62

Q62

What will be the output of the following C# 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.
DelhiJaipur
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board