再请问这一句代码是什么意思?
char[] timeArr = timeStr.ToCharArray();timeArr[0] = (char) (timeArr[0] - '\x0002');
timeArr[1] = (char) (timeArr[1] - '\x0006');
timeArr[2] = (char) (timeArr[2] - '\x0004');
timeArr[3] = timeArr[3];
timeArr[4] = (char) (timeArr[4] - '\x0005');
timeArr[5] = timeArr[5];
timeArr[6] = (char) (timeArr[6] - '\x0003');
timeArr[7] = timeArr[7];
这句(char) (timeArr[0] - '\x0002'); 是什么意思呀? --------------------编程问答-------------------- timeArr[0] 这个字符的字符集前 2个字符. --------------------编程问答-------------------- 偏移. --------------------编程问答-------------------- up --------------------编程问答--------------------
正解
补充:.NET技术 , C#