title: How to solve String must be exactly one character long? C# .net error
body: <p>I am trying to get input from user by using <code>Microsoft.VisualBasic.dll</code>. Then convert the input from [<strong><em>string</em></strong>] to [<strong><em>char</em></strong>] type. But it gives me this error when I run the code:</p>
  
  <pre><code>*An exception of type 'System.FormatException' occurred in mscorlib.dll but was not handled in user code
  String must be exactly one character long.*
  </code></pre>
  
  <p>Sample code:</p>
  
  <pre><code>      string directions = Microsoft.VisualBasic.Interaction.InputBox("1 = Buy, 2 = Sell", "Select side", "Default", 700, 400);
  
        char direction = System.Convert.ToChar(directions);
  </code></pre>
  
  <p>Any idea how to solve this? Thanks in advance.</p>