CODE FOR ADDITION IN DOTNET USING C#
I NEED THE CODE FOR ADDITION
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted May 3, 2013, 8:00 AM
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Add
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
int i, j,k;
int.TryParse(textBox1.Text, out i);
int.TryParse(textBox2.Text, out j);
int.TryParse(textBox3.Text, out k);
int result = i + j + k;
label1.Text = result.ToString();
}
}
}
boycotoPosted May 3, 2013, 5:24 AM