Hi,
The reason is that a string collection is an specialized collections that
does not require boxing, that is a huge benefit from a normal collection.
(this is solved with generics on .NET 2005).
If you need sorting capabilities use a SortList, that is intended for it.
Otherwise you have plenty of sorting algorithms on the net, bubble, hash,
binary, etc.
Cheers
Salva
"Ben Fidge" wrote:
Hi
What are the options for sorting a StringCollection? I'm quite surprised
that StringCollection doesn't have any sorting capability built in!
Thanks
Ben