September 2013
Beginner
292 pages
6h 19m
English
Create a Dictionary using type int for the keys.
LearningScript as shown in the next screenshot.
Here is the output to Unity's Console.

The analysis of code is as follows:
Dictionary<int, string> myFavoritePonies = new Dictionary<int, string>();
Declaring a Dictionary is very similar to declaring a List.
A Dictionary requires you to specify the type for the Key.
This example used integers for the ...