public static class Test
{
const int[20] ClassConst = { 0, 5, 0, 0, 0, 0, 3, 0, 3, 0, 0, 0, 3, 0, 1, 0, 12, 1, 0, 2 };
static int Sum(int[] a, int length)
{
const int[20] localConst = { 0, 0, 0, 3, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 };
int sum = 0;
for (int i = 0; i < length; i++)
sum += a[i] + localConst[i];
return sum;
}
public static bool Run()
{
const int[4] localConst = { 1, 2, 3, 4 };
return Sum(ClassConst, ClassConst.Length) == 36
&& Sum(localConst, localConst.Length) == 13;
}
}