Dictionary<TKey, TValue>
A collection that associates unique keys with values.
What is Dictionary<TKey, TValue> in C#?
Dictionary<TKey, TValue> — A collection that associates unique keys with values.
class Inventory
{
Dictionary<string, int> stock = new();
}
Level: Freelancer · More C# terms at this level
Updated