C# How to make an open while loop that stops when user wants
<p>I'm writing a small loop in C# that I want to stay open until the user specifies.</p>

<pre><code>public void ScoreCalc()
    {
        string goon = " ";
        int counter = 1;
        int score = 0;

        while (goon == " ")
        {
            Console.WriteLine("Enter a score");
            score += int.Parse(Console.ReadLine());

            Console.WriteLine(score + " " + counter);
            counter++;
        }

    }
</code></pre>

<p>I know this code is not correct.</p>