示例#1
0
        static void Main(string[] args)
        {
            // This code is used by the first exercise
            // It is left here, uncommented, so that it's easy for you to run
            // Once you complete it, feel free to comment these lines out
            // That way, you won't have every single exercise being run, each and
            // every time :)
            IO_Operators ioo = new IO_Operators();

            ioo.RunExercise();

            // Fibonnaci_With_Array fwa = new Fibonnaci_With_Array();
            // fwa.RunExercise();

            // Scope_Of_Variables sov = new Scope_Of_Variables();
            // sov.RunExercise();

            Array_Of_Ints aoi = new Array_Of_Ints();

            aoi.RunExercise();
        }
示例#2
0
        static void Main(string[] args)
        {
            // This code is used by the first exercise
            // It is left here, uncommented, so that it's easy for you to run
            // Once you complete it, feel free to comment these lines out
            // That way, you won't have every single exercise being run, each and
            // every time :)
            IO_Operators ioo = new IO_Operators();
            ioo.RunExercise();

            Fibonnaci_With_Array fwa = new Fibonnaci_With_Array();
            fwa.RunExercise();

            //Scope_Of_Variables sov = new Scope_Of_Variables();
            //sov.RunExercise();
            NumberPrinter np = new NumberPrinter();
            np.SetLowest(3.14159);
            np.SetHighest(12);
            np.Print(true);
            np.SetHighest(17.1);
            np.Print(false);

            Object_Composition_Circle occ = new Object_Composition_Circle();
            occ.RunExercise();

            Array_Of_Ints aoi = new Array_Of_Ints();
            aoi.RunExercise();
        }