在C# 中将byte转换为int和int转换为byte标签:在c#中简单的int和byte数组互相转换 int s = 100; byte[] shi = System.BitConverter.GetBytes(s); int sh = System.BitConverter.ToInt32(shi,0); 版权声明:本文为YES开发框架网发布内容,转载请附上原文出处连接原文链接:https://www.yesdotnet.com/archive/post/1624029197.htmlpost YES开发框架 2021-06-18 15:13 2021-06-18 15:13