Example #1
0
 /// <summary>
 ///     Compares this instance to a specified Client and returns an indication
 ///     of their relative values.
 /// </summary>
 ///
 /// <param name="obj">
 ///      The Client to compare with this instance.
 /// </param>
 ///
 /// <returns>
 ///     A 32-bit signed integer that indicates whether this instance precedes, follows,
 ///     or appears in the same position in the sort order as the value parameter.Value
 ///     Condition Less than zero This instance precedes obj. Zero This instance has
 ///     the same position in the sort order as obj. Greater than zero This instance
 ///     follows obj.-or- obj is null.
 ///</returns>
 public int CompareTo(object obj)
 {
     return(ClientID.CompareTo(((Client)obj).ClientID));
 }