using System;
namespace DFEngine
{
///
/// Class that extends the use of the Array class.
///
public static class ArrayExtensions
{
///
/// Compares two byte arrays of values.
///
public static bool Compare(this byte[] first, byte[] second)
{
var firstString = Convert.ToBase64String(first);
var secondString = Convert.ToBase64String(second);
return firstString == secondString;
}
}
}