Share via


String.CompareTo Method

Compares the current String object with a specified String object or Object object.

Overload List

Name Description
String.CompareTo (Object) Compares the current String object with a specified Object object.
String.CompareTo (String) Compares the current String object with a specified String object.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

String Class
String Members
System Namespace