Пример #1
0
 public void AddSecondArrayToTheDictionary(int key)
 {
     if (ElementIntersectionDictionary.ContainsKey(key))
     {
         ElementIntersectionDictionary[key] = ElementIntersectionDictionary[key] + 1;
     }
 }
Пример #2
0
 public void PutFirstArrayToTheDictionary(int key)
 {
     if (!ElementIntersectionDictionary.ContainsKey(key))
     {
         ElementIntersectionDictionary[key] = key;
     }
 }