DEV Community

Sugumar Prabhakar
Sugumar Prabhakar

Posted on

How to choose a collection in C#

When I started my career with .Net Framework 4.0, I always felt challenging when it comes to choose the right collection for my development. I always end up with either Generic Dictionary or List.

But this article from the Microsoft can be a life-saver [https://docs.microsoft.com/en-us/dotnet/standard/collections/?WT.mc_id=-blog-scottha]

Image description

Top comments (1)

Collapse
 
haroldknopp profile image
HaroldKnopp

Most collection classes are placed in the System.Collections and System.Collections.Generic namespaces, but many of them are also placed in other namespaces. witchcraft to make someone fall in love with you