Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Strings
Which of the following will be the correct output for the C#.NET code snippet given below? String s1="Kicit"; Console.Write(s1.IndexOf('c') + " "); Console.Write(s1.Length);
3 6
2 5
3 5
2 6
3 7
Show Answer
Correct Answer:
2 5
← Previous
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment