private static GetMethodForIndex ( int i ) : float | ||
i | int | |
return | float |
private static float GetMethodForIndex(int i)
{
float length;
if (i % 2 == 1)
{
length = 8;
}
else
{
length = 4;
}
return length;
}