Method Equals Equals(object) Indicates whether this instance and a specified object are equal. Declaration public override bool Equals(object other) Parameters Type Name Description object other Returns Type Description bool true if obj and this instance are the same type and represent the same value; otherwise, false. Overrides ValueType.Equals(object)