String.Inequality Operator (String, String)
Determines whether two specified strings have different values.
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 different from the value of b; otherwise, false.
The String class. It enables code such as that shown in the Examples section.method defines the operation of the inequality operator for the
The Equals(String, String) method, which performs an ordinal (case-sensitive and culture-insensitive) comparison.operator in turn calls the static
The Visual Basic compiler does not resolve the inequality operator as a call to the Operators.CompareString method.method. Instead, the inequality operator wraps a call to the
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