C# 比较两个List byte集合、byte[]是否相同
public bool AreByteArraysEqual(byte[] a, byte[] b){ if (a == null || b == null || a.Length != b.Length) { return false; } for (int i = 0; i a.Length; i++) { if (a[i] != b[i]) { return false; …
public bool AreByteArraysEqual(byte[] a, byte[] b){ if (a == null || b == null || a.Length != b.Length) { return false; } for (int i = 0; i a.Length; i++) { if (a[i] != b[i]) { return false; …