c sharp check if key in dictionary

C#
// To check if a dictionary has a certain key, use 'ContainsKey()'
dict.ContainsKey(key);
Source

Also in C#: