Check out example codes for "dictionary in c# unity". It will help you in understanding the concepts better.

Code Example 1

public class ScriptA : MonoBehaviour{
    public Dictionary<string, GameObject> dictio = new Dictionary<string, GameObject>();
}

Code Example 2

Dictionary<keyClass,valueClass> dictionaryName;
dictionaryName = new Dictionary<keyClass,valueClass>();

Learn ReactJs, React Native from akashmittal.com