title: c# console type in capslock
body: <p>I wanted to create a little "Terminal"-Game, where everything is in uppercase.
  But when you type with console readline, the input isn't all uppercase, and i haven't found a solution yet.</p>
  
  <p>So if i type "login" i want the console to type "LOGIN" in realtime.</p>
  
  <p>At the moment, my code looks like this:</p>
  
  <pre><code>static void Main(string[] args)
      {
          slowType("TERMINALTEST V1.0 CORP", 50, 100);
          Console.WriteLine();
          slowType("&gt;", 50, 100);
          string temp = Console.ReadLine();
      }
  
      static void slowType(string input, int minvelo, int maxvelo)
      {
          Random temp = new Random();
          for (int i = 0; i &lt; input.Length; i++)
          {
              Console.Write(input[i]);
              Thread.Sleep(temp.Next(minvelo, maxvelo));
          }
      }
  </code></pre>
  
  <p>and i want to replace </p>
  
  <pre><code>string temp = Console.ReadLine();
  </code></pre>
  
  <p>with</p>
  
  <pre><code>string temp = MethodForTypingUppercase();
  </code></pre>