C# String EndsWith()The C# EndsWith() method is used to check whether the specified string matches the end of this string or not. If the specified string is found at the end of this string, it returns true otherwise false. SignatureParametersstr: it is a string object which is used to check the whether a specified string ends with it. ReturnIt returns boolean value either true or false. C# String EndsWith() Method ExampleOutput: True False
Next TopicC# String Equals()
|
Javatpoint provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India