how to create a key value collection c# code example Example: c sharp add item to dictionary // To add an item to a dictionary use 'Add()' dict.Add(1,"One");