Crie uma função que retorne true quando um dicionário somente leitura contiver a chave de tipo string especificada e false caso contrário. O tipo do valor pode variar entre chamadas.
Program.HasKey(new Dictionary<string, int> { ["pot"] = 1, ["not"] = 3 }, "not") ➞ true
Program.HasKey(new Dictionary<string, int> { ["a"] = 44 }, "d") ➞ false