The OrderedDictionary Collection

The System.Collections.Specialized.OrderedDictionary collection works like HashTable but it differs in that items can be accessed via either the key or the index, as demonstrated by the following code:

image

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.