Which of these methods returns the string such that some characters which are specified to be removed from the end of strings are removed from string by mentioning the number of characters to be removed?
(a) Trim()
(b) Remove()
(c) TrimEnd()
(d) Split()
This question was addressed to me at a job interview.
Enquiry is from Comparison of Strings in division Arrays and Strings of C#