public bool Matches(ColArray other) { if (this.Length() != other.Length()) { return(false); } int length = Mathf.Min(this.Length(), other.Length()); for (int i = 0; i < length; i++) { if (GetValue(i) != other.GetValue(i)) { return(false); } } return(true); }