string s = "003100320033003400350036";
char[] cs = new char[s.Length/4]; //new char[(s.Length+3)/4];
for (int i=0,j=0; i < s.Length; i+=4,j++)
{
cs[j] = (char)Convert.ToInt32(s.Substring(i,4),16);
} string s2 = new string(cs);
Console.WriteLine(s2 + "\n" + s2.Length);
char[] cs = new char[s.Length/4]; //new char[(s.Length+3)/4];
for (int i=0,j=0; i < s.Length; i+=4,j++)
{
cs[j] = (char)Convert.ToInt32(s.Substring(i,4),16);
} string s2 = new string(cs);
Console.WriteLine(s2 + "\n" + s2.Length);
如何将它转回到“234abcd”,请各位大侠指教!!!