Method Equals
Equals(ElementIndex<T>)
Returns a value indicating whether this instance has the same value and index as a specified ElementIndex<T> structure.
public bool Equals(ElementIndex<T> other)
Parameters
other
ElementIndex<T>The ElementIndex<T> structure to compare to this instance.
Returns
Equals(object)
Tests to see whether the specified object is an ElementIndex<T> structure with the same value and index as this ElementIndex<T> structure.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with this instance.
Returns
- bool
true if
obj
is an ElementIndex<T> and has the same value and index as this ElementIndex<T>; otherwise, false.