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