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