[C#] 纯文本查看 复制代码 byte[] btyes = new byte[20];
btyes.Where(x => string.IsNullOrEmpty(x.ToString())).ToList().ForEach(y => y=0);
foreach (var btye in btyes)
{
Console.WriteLine(btye);
}
核心code :
btyes.Where(x => string.IsNullOrEmpty(x.ToString())).ToList().ForEach(y => y=0); |