public override bool Equals(object obj) { FixedArray <T> temp = obj as FixedArray <T>; if (temp == null) { return(false); } return(Equals(temp)); }
public bool Equals(FixedArray <T> value) { if (ReferenceEquals(null, value)) { return(false); } if (ReferenceEquals(this, value)) { return(true); } return(_tailIndex == value._tailIndex && _capacity == value._capacity && Equals(_list, value._list)); }