Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equals Method
Collapse the table of content
Expand the table of content

String.Equals Method

Determines whether two String objects have the same value.

Name Description
String.Equals (Object) Determines whether this instance of String and a specified object, which must also be a String object, have the same value.

Supported by the .NET Compact Framework.

String.Equals (String) Determines whether this instance and another specified String object have the same value.

Supported by the .NET Compact Framework.

String.Equals (Object, Object) Determines whether the specified Object instances are considered equal.
String.Equals (String, String) Determines whether two specified String objects have the same value.

Supported by the .NET Compact Framework.

String.Equals (String, StringComparison) Determines whether this string and a specified String object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.

Supported by the .NET Compact Framework.

String.Equals (String, String, StringComparison) Determines whether two specified String objects have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft