Esempio n. 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            BoxingDemo();
            Dinosaur Benny = new Dinosaur("Benny Bob", "Apatosaurus", 200, false);

            Benny.Birthday().Birthday().Birthday();

            Bird Larry = new Bird("Larry", "Swallow", 2, true);

            Larry.Birthday().Birthday();

            List <string> names = new List <string>
            {
                "William",
                "Betty",
                "Adrien",
                "Sam",
                "Rob"
            };

            GreaterThanNum(names, 4);
            System.Console.WriteLine(String.Join(", ", names));
        }