Arithmetic Operation

Design

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
                   
namespace _3rd_Program_Add_Sub_Mul_Div
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Addition_Button(object sender, EventArgs e)
        {
            int a, b, c;

            a = Convert.ToInt16(textBox1.Text);
            b = Convert.ToInt16(textBox2.Text);

            c = a + b;

            textBox3.Text = c.ToString();
        }

        private void Subtraction_Button(object sender, EventArgs e)
        {
            int a, b, c;

            a = Convert.ToInt16(textBox1.Text);
            b = Convert.ToInt16(textBox2.Text);

            c = a - b;

            textBox3.Text = c.ToString();
        }

        private void Multiplication_Button(object sender, EventArgs e)
        {
            int a, b, c;

            a = Convert.ToInt16(textBox1.Text);
            b = Convert.ToInt16(textBox2.Text);

            c = a * b;

            textBox3.Text = c.ToString();
        }

        private void Division_Button(object sender, EventArgs e)
        {
            int a, b, c;

            a = Convert.ToInt16(textBox1.Text);
            b = Convert.ToInt16(textBox2.Text);

            c = a / b;

            textBox3.Text = c.ToString();                
        }
    }
}

Output

Output Example