Home / MCQ Bank / Computer
Computer Miscellaneous In C Sharp

What will be the output of the following C# code snippet? static void Main(string[] args) { string s1 = " Ixg"; string s2 = s1.Insert(3,"i"); string s3 = s2.Insert(5, "o"); for (int i = 0; i < s3.Length; i++) Console.WriteLine(s3[i]); Console.ReadLine(); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Ixigo

Related Computer Questions

Which keyword suppresses errors? Which of the following is false about the Kruskal's algorithm? The function abort() is defined in which of the following header file? Which exception is thrown by dynamic_cast? Pick out the correct option.