add key value pair to dictionary c# in signelline code example Example: c# add key value pair to dictionary d.Add(new KeyValuePair<int, string>(1, "TVs"));