How do I make it so that a label changes text according to a variable
<p>I have a label and I want it to display either Player or Console depending on what the variable answer is.</p>

<pre><code>    private void playerLabel_Click(object sender, EventArgs e)
    {
        string playerDetail = "Player",
            consoleDetail = "Console";
        if (Class.Method.Variable == 1)
        {
            Show.playerDetail();
        }
        if else (Class.Method.Variable == 0)
        {
            Show.consoleDetail();
        }
    }`
</code></pre>

<p>I then want to make it so that the label shows the string instead if you get me. I know I am not doing this properly but I can't work out how exactly to do this. </p>
