use for look to access dictionary c# code example
Example 1: dictionary c# get key by value
var myKey = types.FirstOrDefault(x => x.Value == "one").Key;
Example 2: c# dictionaries
IDictionary<int, string> dict = new Dictionary<int, string>();
//or
Dictionary<int, string> dict = new Dictionary<int, string>();