Exemple #1
0
        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();



        }
Exemple #2
0
        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();
        }