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(); }
public EuroMillionsViewModel() { randomNumero = new Random(); randomEtoile = new Random(); Numeros = new List <int>(); Etoiles = new List <int>(); Euro = new EuroMillions(); ExecuteEuroFlash(); }