public int CompareTo(ReversedString other) { if (ReferenceEquals(other, null)) { return(1); } return(this.Value.CompareTo(other.Value)); }
public bool Equals(ReversedString other) { return(!ReferenceEquals(other, null) && other.Value == this.Value); }