static void Main(string[] args) { UdvidetRandom r = new UdvidetRandom(); Console.WriteLine(r.NextBool()); UdvidetRandom udvidetRandom = new UdvidetRandom(); // Keep console window open when using the debugger (F5) if (System.Diagnostics.Debugger.IsAttached) { Console.Write("Press any key to continue . . . "); Console.ReadKey(); } }