Determines whether the current instance and the specified
string have the
same value.
[Edit]
[System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)] public bool Equals (string value) |
|
Parameters
- value
- A string.
[Edit]
Returns
true if the value of value is the same as the value of the current instance; otherwise, false.
[Edit]
Remarks
Requirements
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0