Exemplo n.º 1
0
        public LotteryBase[] GetLotterys()
        {
            int LotteryCount = 1;

            while (this[LotteryCount] != null)
            {
                LotteryCount++;
            }

            LotteryBase[] Lotterys = new LotteryBase[LotteryCount - 1];

            for (int i = 0; i < Lotterys.Length; i++)
            {
                Lotterys[i] = this[i + 1];
            }

            return(Lotterys);
        }
Exemplo n.º 2
0
        public LotteryBase[] GetLotterys()
        {
            int LotteryCount = 1;

            while (this[LotteryCount] != null)
            {
                LotteryCount++;
            }

            LotteryBase[] Lotterys = new LotteryBase[LotteryCount - 1];

            for (int i = 0; i < Lotterys.Length; i++)
            {
                Lotterys[i] = this[i + 1];
            }

            return Lotterys;
        }