Náhodná čísla se generují pomocí třídy Random:
var rand = new Random(); var time = rand.Next(3, 11);
Zpět do poradny