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

Sort an IList object

P: n/a
How to I sort an IList object?

Mar 7 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello, tomb!

t> How to I sort an IList object?

IList list;
ArrayList al = new ArrayList(list);
al.Sort();

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Mar 7 '06 #2

P: n/a


"tomb" wrote:
How to I sort an IList object?


IList list = GetSomeList();
Arraylist.Adapter(list).Sort();
// list is now sorted
Mar 7 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.