public bool Equals(IHoconElement other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (other.Type != HoconType.Array) { return(false); } if (other is HoconArray array) { return(Equals(array)); } return(this.SequenceEqual(other.GetArray())); }