public void AddSecondArrayToTheDictionary(int key) { if (ElementIntersectionDictionary.ContainsKey(key)) { ElementIntersectionDictionary[key] = ElementIntersectionDictionary[key] + 1; } }
public void PutFirstArrayToTheDictionary(int key) { if (!ElementIntersectionDictionary.ContainsKey(key)) { ElementIntersectionDictionary[key] = key; } }