怎么转换?救命
xmchw 2006-11-01 04:46:53 int i;
i=178;
string t="$178$191$206$187";
byte n;
n=(byte)i;
byte[] t = new byte[] { 178,191,206,187};
string str1= Encoding.Default.GetString(t);
Label1.Text=str1;
str1结果是“部门”二字。但我要怎么把string t="$178$191$206$187"转换为byte[] t = new byte[] { 178,191,206,187}里面呢;