Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dictionary in C# - Definition, Usage, and Methods

tutorialsEU via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about dictionaries in C#, a powerful data structure for storing key-value pairs. Explore how to define, add entries to, and retrieve data from dictionaries. Discover various methods for accessing dictionary values, including indexers, TryGetValue(), and ElementAt(). Gain practical knowledge through examples using an employee directory, demonstrating how to efficiently organize and retrieve data. Master essential dictionary operations like adding key-value pairs, initializing dictionaries, iterating through entries, checking for key existence, and working with dictionary keys. This 27-minute tutorial provides valuable insights for C# developers looking to enhance their programming skills and effectively manage data collections.

Syllabus

What is a Dictionary in C#?

Taught by

tutorialsEU

Reviews

Start your review of Dictionary in C# - Definition, Usage, and Methods

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.