5
Shouts

C#/.NET Fundamentals: Choosing the Right Collection Class

published 701 days, 6 hours, 3 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 704 days, 16 hours, 27 minutes ago
Monday, June 20, 2011 12:28:19 PM GMT Friday, June 17, 2011 2:04:24 AM GMT

The .NET Base Class Library (BCL) has a wide array of collection classes at your disposal which make it easy to manage collections of objects.

While it's great to have so many classes available, it can be daunting to choose the right collection to use for any given situation.

As hard as it may be, choosing the right collection can be absolutely key to the performance and maintainability of your application!

This post will look at breaking down any confusion between each collection and the situations in which they excel. We will be spending most of our time looking at the System.Collections.Generic namespace, which is the recommended set of collections.

category: Web Dev | clicked: 64 | | source: geekswithblogs.net | show counter code
tags: .NET, Little Wonders, C#, List, collections, Dictionary