// build the dictionary Dictionary<string, int> dictionary = new Dictionary<string, int>(); for (int i = 0; i < 256; i++) dictionary.Add(((char)iN String(), in); string w = string.Empty; List<int> compressed = new List<int>(); code example
Example: c sharp add item to dictionary
// To add an item to a dictionary use 'Add()'
dict.Add(1,"One");