DEV Community

Sugumar Prabhakar
Sugumar Prabhakar

Posted on

3 2

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more