string[] b= textBox2.Text.Split(new char[] { ‘.’});
if (b.Length == 4)
{
textBox3.Text = b.Length.ToString();
byte a = 0,c=0;
a=byte.Parse(b[0]);
c = byte.Parse(b[1]);
int d = a + c;
textBox4.Text = d.ToString(“x”);
}
//byte a = 0;
//a = byte.Parse(textBox2.Text);
//textBox1.Text = b[0]+b[1]+b[2]+b[3];