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