public int CompareTo(ContactData other) { if (Object.ReferenceEquals(other, null)) { return(1); } return(Fullname.CompareTo(other.Fullname)); }
public int CompareTo(object obj) { var o = obj as ExPhoneList; return(Fullname.CompareTo(o.Fullname)); }