Exemple #1
0
      static void Main(string[] args)
      {
          Forecast myForecast = new Forecast();

          myForecast.Forecasts();
          Console.Read();
          Console.Read();

          BirdBreeds birds = new BirdBreeds();

          Console.WriteLine("Bird");
          birds.print();
          Console.WriteLine("-----------------");
          Console.Read();
          Console.Read();

          CatBreeds cats = new CatBreeds();

          Console.WriteLine("Cat");
          cats.print();
          Console.WriteLine("-----------------");
          Console.Read();
          Console.Read();

          DogBreeds dogs = new DogBreeds();

          Console.WriteLine("Dog");
          dogs.print();
          Console.WriteLine("-----------------");
          Console.Read();
          Console.Read();

          RabbitBreeds rabbit = new RabbitBreeds();

          Console.WriteLine("Rabbit");
          rabbit.print();
          Console.WriteLine("-----------------");

          Console.Read();
          Console.Read();
      }
Exemple #2
0
        static void Main(string[] args)
        {
            Forecast myForecast = new Forecast();
            myForecast.Forecasts();
            Console.Read();
            Console.Read();

            BirdBreeds birds = new BirdBreeds();
            Console.WriteLine("Bird");
            birds.print();
            Console.WriteLine("-----------------");
            Console.Read();
            Console.Read();

            CatBreeds cats = new CatBreeds();
            Console.WriteLine("Cat");
            cats.print();
            Console.WriteLine("-----------------");
            Console.Read();
            Console.Read();

            DogBreeds dogs = new DogBreeds();
            Console.WriteLine("Dog");
            dogs.print();
            Console.WriteLine("-----------------");
            Console.Read();
            Console.Read();

            RabbitBreeds rabbit = new RabbitBreeds();
            Console.WriteLine("Rabbit");
            rabbit.print();
            Console.WriteLine("-----------------");

            Console.Read();
            Console.Read();


        }