By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,856 Members | 1,845 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,856 IT Pros & Developers. It's quick & easy.

System.IComparable<T>

P: n/a
Hello!

I read a book and here it says that it's most often an advantage to
implement the generic interface IComparable<T>
instead of the general interface IComparable. This is correct!

Now to my question this book also say that both interfaces can be
implemented something that some of the types in .NET does.

I can't see any point in implementing both interfaces?? Can you ??

//Tony

Feb 13 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes; it means that anything that doesn't know about the generic side
(ArrayList, or a data-grid) can still sort the data.

Marc
Feb 13 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.