private void Generate() { int randomNum = LFSR16.Random16(); shiftCount = LFSR16.GetFullCycleShiftCount(randomNum); shiftResults = new int[shiftCount + 1]; randomBox.Text = randomNum.ToString(); shiftResults[0] = randomNum; CalculateShift(randomNum); }