In this asp .net tutorial we will learn how to use c# string compare method with example and source code. C# string compare method is used to compare two strings, you have option to ingnore or compare case of the string.
C# string method returns a result that provides us information that string is greater than or less than the other, or that the two strings are equal.