String.Equals Method (String, String)
Determines whether two specified String objects have the same value.
Assembly: mscorlib (in mscorlib.dll)
The first string to compare, or null.
The second string to compare, or null.
Return ValueType: System.Boolean
true if the value of a is the same as the value of b; otherwise, false. If both a and b are null, the method returns true.
This method performs an ordinal (case-sensitive and culture-insensitive) comparison.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1