public int CompareTo(object obj) { Hand h = obj as Hand; if (h == null) return -1; return ((int)HandValue) - ((int)h.HandValue); }