Exemple #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, world!");
            ArraySolver blah = new ArraySolver();

            blah.AverageEvens(new int [] { 1, 2, 3, 4, 5 });
            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            ArraySolver blah = new ArraySolver();

            blah.AverageEvens(new int[] { -2, -5, -8 });
            Console.WriteLine("-2, -5, -8");
            Console.WriteLine(blah.AverageEvens(new int[] { -2, -5, -8 }));
            Console.ReadLine();
        }
        static void Main(string[] args)
        {
            ArraySolver solver = new ArraySolver();

            solver.AverageEvens(new int[] { 1, 3, 4, 5 });

            /*
             * 1. Create a branch in git and make your commits on that branch
             * 2. Open the ArraySolver class and implement the four methods provided.
             * 3. Run the Tests provided by clicking the Test tab at the top of Visual Studio and run all tests
             * 4. If you pass all tests then you can push your branch back to the GitHub repository
             *
             * Remember to make commits throughout!
             */
            Console.ReadLine();
        }