public int CompareTo(object obj) { KChar ch = obj as KChar; if (ch != null) { return(Value.CompareTo(ch.Value)); } ThrowHelper.TypeError("Object is not of type KChar"); return(0); }
private bool Equals(KChar other) { return(Value == other.Value); }