public int CompareTo(object obj) { Keyword k = obj as Keyword; if (ReferenceEquals(k,null)) throw new ArgumentException("Cannot compare to null or non-Keyword", "obj"); return _sym.CompareTo(k._sym); }