title: ContainsValue VB
body: <p>I have a dictionary set up with the entries. I wanted to get the letter that corresponds to the value and I am a bit stuck on the coding side of it. Here is my code so far:</p>
  
  <pre><code>Dim chardict As New Dictionary(Of Char, Integer)
  chardict.Add("A", 0)
  chardict.Add("B", 1)
  
  If chardict.ContainsValue(1) then
     Console.WriteLine(the letter that corrosponds to the value)
  end if
  
  Output: B
  </code></pre>
  
  <p>Thanks in advance</p>