title: How to read char from the console
body: <p>I have a <code>char</code> array and I want to assign values from the console. Here's my code:</p>
  
  <pre><code>char[] input = new char[n];
  for (int i = 0; i &lt; input.Length; i++)
  {
      input[i] = Console.ReadLine();
  }
  </code></pre>
  
  <p>But I'm getting the following error:</p>
  
  <blockquote>
    <p>Cannot implicitly convert type 'System.ConsoleKeyInfo' to 'char'  </p>
  </blockquote>
  
  <p>Is there an easy way to fix this?</p>