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:

```
While !('user entered word "stop"'){
    Console.Write("*")
}

```

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:

```
string userinput = "";
while (true){
     Console.Write("*");
     userinput = Console.ReadLine();
     if(userinput == "stop"){
         break;
     }
}

```

is not a solution, because it will keep asking user for the input after each star printed.

Sorry if it's a stupid question, I can't even understand where to start.

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.