CSharp examples for System:Byte Array
Byte array equals
/// Distributed under the Mozilla Public License * using System;/*from w w w. j a v a2 s . c om*/ public class Main{ public static bool equals(byte[] a1, byte[] a2) { if (a1.Length != a2.Length) return false; for (int i = 0; i < a1.Length; i++) { if (a1[i] != a2[i]) return false; } return true; } }