Mono Class Library: System.String Overview | Members

System.String Equality Operator

Returns a bool value indicating whether the two specified string values are equal to each other.

public static bool operator== (string a, string b)

See Also

string.Equals(object)

Parameters

a
The first string to compare.
b
The second string to compare.

Returns

true if a and b represent the same string value; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0