Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将byte[]数组转换为list<byte>?
byte[]
list<byte>
我只使用 Silverlight 框架。
简单地:
List<byte> myBytes = new List<Byte>(byteArray);
或使用LINQ扩展:
List<byte> myBytes = byteArray.ToList();