Search⌘ K
AI Features

Lists, Dictionaries, and Queues

Explore how to create and manipulate lists dictionaries and queues in C# within the .NET framework. Learn to work with collections, handle data efficiently, and implement priority queues through step-by-step coding exercises and examples.

Working with lists

Let’s explore lists in C#:

Step 1: Use your preferred code editor to add a new Console App or console project named WorkingWithCollections to the Chapter08 solution or workspace:

  • In Visual Studio Code, select WorkingWithCollections as the active OmniSharp project.

Step 2: Add a new class file named Program.Helpers.cs. ...