switch in c#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { //int a=0, b=0,c=0; //a = Convert.ToInt32(txt1.Text); //b = Convert.ToInt32(txt2.Text) ; //c = a + b; //Label1.Text = Convert.ToString(c); cal("+"); } protected void Button2_Click(object sender, EventArgs e) { cal("-"); } protected void Button3_Click(object sender, EventArgs e) { ...