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 statement is correct about a String in C#.NET?
A String is mutable because it can be modified once it has been created.
Methods of the String class can be used to modify the string.
A number CANNOT be represented in the form of a String.
A String has a zero-based index.
The System.Array class is used to represent a string.
Correct Answer:
A String has a zero-based index.
← Previous Question
Next Question→
More Questions from
Strings
Which of the following will be the correct output for the C#.NET code snippet given below? String s1 = "ALL MEN ARE CREATED EQUAL"; String s2; s2 = s1.Substring(12, 3); Console.WriteLine(s2);
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);
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments