protected void Button3_Click(object sender, EventArgs e) { AnonymousAndLamba lambdaObj = new AnonymousAndLamba(int.Parse(TextBox1.Text), int.Parse(TextBox2.Text)); Label3.Text = lambdaObj.Subtract().ToString(); }
protected void Button2_Click(object sender, EventArgs e) { AnonymousAndLamba anonObj = new AnonymousAndLamba(int.Parse(TextBox1.Text), int.Parse(TextBox2.Text)); Label2.Text = anonObj.Add().ToString(); }