Share via


Equals Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

Overload List

  Name Description
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 methodStatic member Equals(String, String) Determines whether two specified String objects have the same value.

Top

See Also

Reference

String Class

System Namespace