Which of these methods of class String is used to check whether a substring exists at the beginning of the particular string?
(a) StartsWith()
(b) EndsWith()
(c) Starts()
(d) ends()
The question was asked in an interview for job.
I'm obligated to ask this question of Comparison of Strings in section Arrays and Strings of C#