You need to add “using System.Collections.Generic;” to your file.
Dictionary<string,int> myDictionary = new Dictionary<string,int>();
myDictionary.Add("Dog",1);
//Then you can access like:
Debug.Log("Value of Dog " + myDictionary["Dog"]);
//Output is: 1