Click or drag to resize
StringEquals Method (Object)
Determines whether this instance and a specified object, which must also be a String object, have the same value.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public override bool Equals(
	Object obj
)

Parameters

obj
Type: SystemObject
The string to compare to this instance.

Return Value

Type: Boolean
true if obj is a String and its value is the same as this instance; otherwise, false.
See Also