CONVERSION OF VARIOUS TYPES OF DATA IN C #
hi how are you, I will post a basic knowledge of C #
making CONVERSION OF VARIOUS TYPES OF DATA IN C #
Okay let's start ...
Let us start with a file click select New Project.
On Button1, when it enter the code shown below.
String a, b;
int hasil; a = textBox1.Text; b = textBox2.Text;
hasil = Convert.ToInt16(a) + Convert.ToInt16(b);
textBox3.Text = hasil.ToString();
int hasil; a = textBox1.Text; b = textBox2.Text;
hasil = Convert.ToInt16(a) + Convert.ToInt16(b);
textBox3.Text = hasil.ToString();
if successful please comment and subscribe.
Thnks You Very Much :D
Comments
Post a Comment