// C# ArrayList 转换成byte数组 ArrayList al = new ArrayList(); byte[] x = (byte[])al.ToArray(typeof(byte));