Dynamo 2.0 exposes a variety of Dictionary nodes for our use. This includes create, action, and query nodes.
Dictionary.ByKeysValueswill create a dictionary with the supplied values and keys. (The number of entries will be whatever the shortest list input is)
Dictionary.Componentswill produce the components of the input dictionary. (This is the reverse of the create node.)
Dictionary.RemoveKeyswill produce a new dictionary object with the input keys removed.
Dictionary.SetValueAtKeyswill produce a new dictionary based on the input keys and the values to replace the current value at the corresponding keys.
Dictionary.ValueAtKeywill return the value at the input key.
Dictionary.Countwill tell you how many key value pairs are in the dictionary.
Dictionary.Keyswill return what keys are currently stored in the dictionary.
Dictionary.Valueswill return what values are currently stored in the dictionary.
Overall relating data with dictionaries is a magnificent alternative to the old method of working with indices and lists.