Example #1
0
        static void Main(string[] args)
        {
            MegaMillions mega = new MegaMillions();

            mega.GenerateTipps(5);
            mega.PrintToScreen();
            string jsonMegaMillions = mega.GetJson();

            EuroJackpot euroJackpot = new EuroJackpot();

            euroJackpot.GenerateTipps(6);
            euroJackpot.PrintToScreen();
            string jsonEuroJackpot = euroJackpot.GetJson();

            EuroMillions euroMillions = new EuroMillions();

            euroMillions.GenerateTipps(3);
            euroMillions.PrintToScreen();
            string jsonEuroMillions = euroMillions.GetJson();

            PowerBall powerBall = new PowerBall();

            powerBall.GenerateTipps(3);
            powerBall.PrintToScreen();
            string jsonPowerBall = powerBall.GetJson();
        }
Example #2
0
 public EuroMillionsViewModel()
 {
     randomNumero = new Random();
     randomEtoile = new Random();
     Numeros      = new List <int>();
     Etoiles      = new List <int>();
     Euro         = new EuroMillions();
     ExecuteEuroFlash();
 }