how to get a specific key from a dictionary C# code example Example: dictionary c# get key by value var myKey = types.FirstOrDefault(x => x.Value == "one").Key;