Mono Class Library: System.Char Overview | Members

System.Char.Equals Method

Determines whether the current instance and the specified char represent the same value.

public bool Equals (char obj)

Parameters

obj
Documentation for this section has not yet been entered.

Returns

true if obj represents the same value as the current instance; otherwise, false.

Remarks

The comparison performed by this method is based on the code points of the current instance and obj, not necessarily their lexicographical characteristics.

Note: This method is implemented to support the IEquatable<Char> interface.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0