protected void btn1ClickHere_Click(object sender, EventArgs e) { var Fahrenheit = new ClassLibrary(); int TempC = Int32.Parse(tbTempC.Text); int Answer = Fahrenheit.ConvertCtoF(TempC); tbTempF.Text = Answer.ToString(); }
public int TemperatureTOF(int TempF) { var Fahrenheit = new ClassLibrary(); return(Fahrenheit.ConvertCtoF(TempF)); }