Exemplo n.º 1
0
 private bool Equals(NamedString other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(string.Equals(Value, other.Value));
 }
Exemplo n.º 2
0
 public int CompareTo(NamedString other)
 {
     return(string.CompareOrdinal(this.Value, other.Value));
 }