C SHART Проверьте, если ключ в словаре
// To check if a dictionary has a certain key, use 'ContainsKey()'
dict.ContainsKey(key);
SkelliBoi
// To check if a dictionary has a certain key, use 'ContainsKey()'
dict.ContainsKey(key);