C Sharp Strings Questions and Answers
Practice ModeShowing 10 of 32 questions
Q31
Which method converts an object to its string representation?
Answer: Option A
Explanation: ToString() is available on all objects and returns their string representation.
Q32
What does "ABC".ToCharArray() return?
Answer: Option A
Explanation: ToCharArray() converts string to character array containing all characters.