title: Write to console while waiting for input
body: <p>I am a beginner in programming and I need to write a c# console app that does something (let's suppose writes stars to console) in a loop until user inputs a command like "stop".
  Something like this:</p>
  
  <pre><code>While !('user entered word "stop"'){
      Console.Write("*")
  }
  </code></pre>
  
  <p>The program should write stars independently of any user key presses or other commands, just do it's work until user writes exactly "stop" and presses Enter.
  This:</p>
  
  <pre><code>string userinput = "";
  while (true){
       Console.Write("*");
       userinput = Console.ReadLine();
       if(userinput == "stop"){
           break;
       }
  }
  </code></pre>
  
  <p>is not a solution, because it will keep asking user for the input after each star printed.</p>
  
  <p>Sorry if it's a stupid question, I can't even understand where to start.</p>
  
  <p>EDIT:
  Okay, it can be another task, like copying files or playing music or whatever, ANYTHING. I just can't understand how to constantly check the console for the 
  entered stop word without asking the user. Console can be blank, waiting for user input.</p>