public static int Difference(NetIndex8 c1, NetIndex8 c2)
        {
            int num1 = ((int)c1 - c1.max / 2) % c1.max;

            if (num1 < 0)
            {
                num1 = c1.max + num1;
            }
            int num2 = c1.max - num1;

            return(Math.Abs((c1._index + num2) % c1.max - (int)(c2 + num2) % c1.max));
        }
 public NetIndex8(int index = 1, bool zeroSpecial = true)
 {
     this._index       = index;
     this._zeroSpecial = false;
     this.max          = NetIndex8.MaxForBits(8);
 }