Which of these methods of class String is used to remove leading and trailing whitespaces?
(a) startsWith()
(b) TrimEnd()
(c) Trim()
(d) TrimStart()
The question was posed to me during an internship interview.
The query is from String Formatting in division Miscellaneous topics of C#