Beispiel #1
0
        public void runTest()
        {
            LivingObject [] Mv_LivingObject = new LivingObject[25];
            int             iTotal          = Mv_LivingObject.Length;

            for (int i = 0; i < iNum; i++)
            {
                for (int j = 0; j < iTotal; j++)
                {
                    Console.Out.WriteLine("{0} Object Created", j);
                    Console.Out.WriteLine();

                    Mv_LivingObject[j] = new LivingObject( );
                }

                Console.Out.WriteLine("+++++++++++++++++++++++++++++++++++Nest {0} of {1}", i, iNum);
                Console.Out.WriteLine();
            }

            Console.Out.WriteLine("******************************* FinalRest");
        }
Beispiel #2
0
        public void runTest()
        {

            LivingObject [ ]Mv_LivingObject = new LivingObject[ 25 ];
            int iTotal = Mv_LivingObject.Length;
            for ( int i = 0; i < iNum; i++ )
            {
                for ( int j = 0; j < iTotal; j++ )
                {
                    Console.Out.WriteLine( "{0} Object Created", j );
                    Console.Out.WriteLine();

                    Mv_LivingObject[ j ] = new LivingObject( );
                }

                Console.Out.WriteLine( "+++++++++++++++++++++++++++++++++++Nest {0} of {1}", i, iNum );
                Console.Out.WriteLine();
            }

            Console.Out.WriteLine( "******************************* FinalRest" );
        }