title: How to change integer value in C#?
body: <p>I had made an integer named lifePoints then I set an If statement to CHANGE the integer's value from 100 to 90 how </p>
  
  <pre class="lang-cs prettyprint-override"><code>int lifePoints = 100;
  // not a full code but just giving an explanation
  if (player == ("attackthem!"))
    {
  
      change integer value here. how?
  
    }
  </code></pre>
  
  <p>I searched google and it came out changing String to integer.</p>