Indicates whether the current object is equal to another object of the same type.
public bool Equals(IndexRange other)
| parameter | description |
|---|---|
| other | An object to compare with this object. |
true if the current object is equal to the other parameter; otherwise, false.
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
| parameter | description |
|---|---|
| obj | Another object to compare to. |
true if obj and this instance are the same type and represent the same value; otherwise, false.