Example #1
0
        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);
        }
Example #2
0
 private bool Equals(KChar other)
 {
     return(Value == other.Value);
 }