Q42
What is the correct syntax to access the second character of a string named text in C#?
A.
text.IndexOf(1)
B.
text.SubString(1)
C.
text.charAt(1)
D.
text[1]
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board