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

Negative positions for string do not work in ______ Which of the following method combines all the 2D transform methods into one using transform? Which of the following expression is true? Which of these methods can be used to determine the type of adjustment event? Is the following Python code valid? class B(object): def first(self): print("First method called") def second(): print("Second method called") ob = B() B.first(ob)