public bool Equals(SmartEnum <T> other) { return(!object.ReferenceEquals(other, null) && value.Equals(other.value)); }
public virtual int CompareTo(SmartEnum <T> other) { return(object.ReferenceEquals(other, null) ? 1 : value.CompareTo(other.value)); }