Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System
String Class
String Methods
Equals Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker