Export (0) Print
Expand All
2 out of 6 rated this helpful - Rate this topic

String.Equals Method

Determines whether two String objects have the same value.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Equals(Object) Determines whether this instance and a specified object, which must also be a String object, have the same value. (Overrides Object.Equals(Object).)
Public method Equals(String) Determines whether this instance and another specified String object have the same value.
Public method Static member Equals(String, String) Determines whether two specified String objects have the same value.
Public method 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.
Public method Static member 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.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.