title: Get Dictionary key by using the dictionary value
body: <p>How to get the dictionary key by using the dictionary value?</p>
  
  <p>when getting the value using the key its like this:</p>
  
  <pre><code>Dictionary&lt;int, string&gt; dic = new Dictionary&lt;int, string&gt;();
  
  dic.Add(1, "a");
  
  Console.WriteLine(dic[1]);
  Console.ReadLine();
  </code></pre>
  
  <p>How to do the opposite?</p>