static void Main(string[] args) { //new Strings().Compare(); var lh = new LittleHelp(); lh.X = 99; int r = new Random().Next(5, 10); for (int i = 0; i < r; i++) lh.X += 1; if (lh.X > 104) Console.WriteLine(); Console.ReadKey(); }
static void Main(string[] args) { //new Strings().Compare(); var lh = new LittleHelp(); lh.X = 99; int r = new Random().Next(5, 10); for (int i = 0; i < r; i++) { lh.X += 1; } if (lh.X > 104) { Console.WriteLine(); } Console.ReadKey(); }