protected void Button3_Click(object sender, EventArgs e)
{
int a = Convert.ToInt32(TextBox1.Text.ToString());
int b = Convert.ToInt32(TextBox2.Text.ToString());
int sum = AddNumbers(a, b);
Label1.Text = sum.ToString();
}
public int AddNumbers(int number1, int number2)
{
int result = number1 + number2;
//if (result > 0)
//{
// return result;
//}
//return 0;
return result;
}