title: How to add reference to Microsoft.VisualBasic.dll?
body: <pre><code>using Microsoft.VisualBasic;
  
  Microsoft.VisualBasic.Interaction.InputBox("Favourite RPG?", "Game", "Cool!");
  </code></pre>
  
  <p>So what this does is basically ask the user their favourite RPG. Then it displays the default value. I know this is a small example but my program will not run because I'm getting this error:</p>
  
  <pre><code>The type or namespace name 'Interaction' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?)
  </code></pre>
  
  <p>Originally I found this <a href="http://social.msdn.microsoft.com/Forums/windows/en-US/191ddf61-3ae5-4845-b852-56bb9b77238a/input-message-box-in-c?forum=winforms" rel="noreferrer">here</a></p>