byte[] arry = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }; arry[0] = (byte)(arry[0] | 1); string result = String.Join("", arry); Console.WriteLine(result);
byte[] arry = new byte[] { 0, 0, 0, 0, 0, 0, 0, 0 }; arry[0] = (byte)(arry[0] | 1); string result = String.Join("", arry); Console.WriteLine(result);
相关文章: