Home > Uncategorized > Collections in .NET

Collections in .NET

Strongly typed

  • Array
    Predefined size, used for passing data around.
  • ArrayList
    Easy to work with, provides basic collection functionality and can easily be converted to an Array.
  • CollectionBase
    Abstract base for building your own collection classes.

Weakly typed

  • Hashtable
    Provides high performance access to items in the key-value pair collection, by a specific key.
  • DictionaryBase
    Abstract base for building your own collection classes using a key-value pair.
  • Queue
    Implements the FIFO mechanism.
  • Stack
    Implements the LIFO mechanism.
  • SortedList
    Provides access to items in the collection by a specific key or an index.

More info can be read here. A simple, to the point article. If I have some time I’ll update it for 2.0 considering Generics in the equation.

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: