How To Add Two Numbers ?
This post to help to add two numbers.. value1 and value2 are the Static numbers.in Visual Studio double click the button after write this code..
private void button1_Click(object sender, EventArgs e)
{
int Value1;
int Value2;
int Result;
Value1 = 10;
Value2 = 20;
Result = Value1 + Value2;
MessageBox.Show(Result.ToString());
}
Finaly we get the answer in one message box..
Hi, vetrivel i want how to add dynamic numbers in run time? please post the ans...
ReplyDelete