Dictionaries

A dictionary is an unordered collection of values with each one accessed through a unique key. Let's look at the following diagram:

In our diagram, we have a dictionary of pizzas (keys) with their prices (values). In order to find something inside of a dictionary, we must look it up by its key. Let's look at a dictionary syntax:

Dictionary<Key, Value>