title: How to write the contents of a dictionary to a MessageBox
body: <p>In VB.NET I want to write the contents of a dictionary to a message box.</p>
  
  <p>The dictionary is rather basic</p>
  
  <pre><code>    Dim x As New Dictionary(Of Integer, Users)
      x.Add("1", New Users("1", "Simon"))
  </code></pre>
  
  <p>The user class contains 2 attributes, user ID (Integer) and Username (String).</p>
  
  <p>I am struggling to write the dictionary contents. I would like to write each dictionary entry to a string but i am having no success as I keep getting the error message:</p>
  
  <blockquote>
    <p>Argument 'Prompt' cannot be converted to type 'String'.</p>
  </blockquote>