Basically my question is how i add to a number like a calculator does for example? My code currently looks like this but it does a add operation instead of adding the number behind the existing number.
private void button1_Click(object sender, RoutedEventArgs e)
{
value1 = value1 + 1;
output = value1;
textresult.Text = output.ToString();
if the user presses the button twice it would be 2. I want it to be 11. How do i do this?