17
Useful Interfaces
·IComparable - method
–Int CompareTo(object obj);
•Return:
–Negative => less
–Zero => equal
–Positive => greater
–
·ICloneable - method
–object clone();
–
·ICollection – properties and method
–int count { get; }
–bool IsSynchronized { get; }
–object SyncRoot { get; }
–void CopyTo(Array array, int index);