Problem with Array
-
Hi all,i need change the following code into an array..But it shows error whn i change it..Here is the coding.. string hex = "03D"; int code = Convert.ToInt32(hex, 16); richTextBox1.Text = Encoding.Default.GetString(new byte[] { (byte)code }); I need insert about 5 hexadecimal value..Pls help me..Thank you.
KAM83
-
Hi all,i need change the following code into an array..But it shows error whn i change it..Here is the coding.. string hex = "03D"; int code = Convert.ToInt32(hex, 16); richTextBox1.Text = Encoding.Default.GetString(new byte[] { (byte)code }); I need insert about 5 hexadecimal value..Pls help me..Thank you.
KAM83
richTextBox1.Text = Encoding.Default.GetString(new byte[] { (byte)code1 , (byte)code2 , (byte)code3 , (byte)code4 , (byte)code5 });