Rinadshawi
2
Q:

c sharp check if key in dictionary

bool keyExists = dict.ContainsKey(key);
5
// To check if a dictionary has a certain key, use 'ContainsKey()'
dict.ContainsKey(key);
2

New to Communities?

Join the community