Meeting the needs of your business from a distance

Missing Collection Classes in .NET

by Mark Shiffer 12/31/2007 10:26:00 AM

The Power Collections library, original developed by Wintellect at Microsoft's request is freely available on codeplex. The library includes many generic list classes that I wish were available directly in .NET. Here is a sampling:

Bag<T> - Collection of unordered T objects; hashed; duplicates allowed

OrderedBag<T> - Collection of ordered T objects; duplicates allowed

Set<T> - Collection of unordered T objects; duplicates not allowed

OrderedSet<T> - Collection of ordered T objects; duplicates not allowed

Deque<T> - Double-ended queue

OrderedDictionary<TKey, TValue> - Dictionary with ordered keys; one value per key

MutliDictionary<TKey, TValue> - Dictioniary where key can have multiple values; keys are hashed; duplicates allowed; items unordered

OrderedMultiDictionary<TKey, TValue> - Dictionary where key can have multiple values; keys ordered; duplicates allowed

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Research | Programming

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

July 9. 2008 00:09

About the author

Name of author Mark Shiffer
CEO & CIO of MS Consulting

E-mail me Send mail

Calendar

<<  July 2008  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

Pages

    Recent posts

    Recent comments

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in

    Copyright © 2001-2008 MS Consulting, Inc. All Rights Reserved.