Method Equals Equals(object) Determines whether passed object has the same type and value as this one. Declaration public override bool Equals(object obj) Parameters Type Name Description object obj Returns Type Description bool Overrides object.Equals(object)