/// <summary> /// Entry point into console application. /// </summary> public static void Main() { // Create and run the African animal world AnimalWorld world = new AnimalWorld(Continent.Africa); world.RunFoodChain(); // Create and run the American animal world world = new AnimalWorld(Continent.America); world.RunFoodChain(); // Wait for user input Console.ReadKey(); }
/// <summary> /// Entry point into console application. /// </summary> public static void Main() { // Create and run the African animal world var africa = new AnimalWorld <Africa>(); africa.RunFoodChain(); // Create and run the American animal world var america = new AnimalWorld <America>(); america.RunFoodChain(); // Wait for user input Console.ReadKey(); }