yuritsuki
2
Q:

c# check to see if dictionary key exists

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