Interviews1 answer
What is the difference between Comparable and IComparer?
1 Answer
IComparer interface implements the Compare method which can be used compare objects of different types. IComparable interface implements the CompareTo method which can be used to compare objects of same types.
PoornimaPosted Aug 6, 2013, 12:58 AM EDT
