title: Variable is assigned but its value is never used (C#)
body: <p>In Visual Studio I used the following code:</p>
  
  <pre><code> private bool answer = true;
      Private Buttonclick()
     {
        if()
         {
          answer =false
          }
     }
  </code></pre>
  
  <p>Compiler gives me a warning that says "answer is assigned but its value is never used".
  How do I fix this?</p>