ln.types/Extensions.cs

19 lines
390 B
C#

using System;
namespace ln.types
{
public static class Extensions
{
public static bool AreEqual<T>(this T[] me,T[] you)
{
if (me.Length != you.Length)
return false;
for (int n = 0; n < me.Length; n++)
if (!me[n].Equals(you[n]))
return false;
return true;
}
}
}