title: Subtract a number from a label
body: <p>I am new to C# and I got a question about how to subtract a number from a label?</p>
  
  <p>I am trying to make an application. The situation is as followed:</p>
  
  <p>I got a button that says "attack" and there is a label called "lblTotalEnemyLifes". Now when I press the button I want to subtract 1 "damage" from the total hp that the label has and the label would automatically be updated after I press the button. I tried alot of different things and nothing seems to work. At the moment I tried things like:</p>
  
  <pre><code>int damage = -1;
  
  int life = Convert.ToInt32(lblTotalEnemyLifes.Text);
  
  life = life - damage;
  </code></pre>
  
  <p>I tried alot more then this. If someone could help me how I subtract a number from a label.. that would be great.</p>
  
  <p>Thanks in advance!</p>