var result = Convert.ToDouble(txtFirstNumber.Text) + Convert.ToDouble(txtSecondNumber.Text);
txtAnswer.text = result.ToString();
Of course it is up to you to do any error handling, since text boxes accept alphanumeric characters as well as numeric ones.