Link Details

Link 92113 thumbnail
User 277469 avatar

By razamit
via dev102.com
Published: Jul 03 2008 / 01:03

The other day I wan in the need of a sorted collection. I found that there are 2 sorted collections available. SortedDictionary and SortedList. Now let me ask you, what do you think is the difference?
  • 7
  • 5
  • 1132
  • 420

Comments

Add your comment
User 235017 avatar

ugur.myopenid.com replied ago:

0 votes Vote down Vote up Reply

sorted dic actually means sorted hashtable. this should make you understand that inserts of a sorted dic is slower than a sorted list, and the gets are faster!!!
you should just decide your needs. simple!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.