C#如何把BYTE数组中的数转换成16进制
C#如何把BYTE数组中的数转换成16进制
日期:2019-11-04 09:04:31 人气:1
using System;
using System.Collections.Generic;
using System.Text;namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
byte[] b = {12,10,1,17};
for (int i = 0; i < b.Length; i++)
{
string a =Convert.ToString(b[i], 16);
Cons