DEV Community

Admir Mujkic
Admir Mujkic

Posted on

Discovering the Power of Collections in .NET with Categorization with Examples in C# — Part 1

There are lots of ways to manage collections of objects in programming. In .NET, you have access to a set of standard collection types for storing and manipulating data.

There are resizable lists, linked lists, sorted and unsorted dictionaries, and arrays. Arrays are part of the C# language, but the other types of collection are classes you can instantiate. Using my experience, I’m going to explore the different collection types provided by .NET and how you can use them effectively in your C# applications.

.NET programmers need to know how collection types are categorized.

  • Let’s start with interfaces that set the standard for how collections should work.
  • Next, you’ve got these ready-to-use collection classes like lists and dictionaries.
  • Finally, you’ve got base classes for building custom collections that do exactly what you want. Picking the right collection type for your code starts with knowing these categories.

Image description

If you are interested in reading, you can check the full article at https://admirlive.medium.com/discovering-the-power-of-collections-in-net-with-categorization-with-examples-in-c-part-1-208bb920c6e5.

Cheers! 👋

Top comments (0)