You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SAE-2.01/MCTG/ConsoleApp/Program.cs

22 lines
562 B

// See https://aka.ms/new-console-template for more information
using Model;
Console.WriteLine("Hello, World!\n\n");
// TESTS:
RecipeCollection rc = new RecipeCollection("Desserts",
new Recipe("Cookies", "Cookies au chocolats", null,
new PreparationStep(1, "Faire cuire le truc."),
new PreparationStep(2, "Elaboré un autre truc"),
new PreparationStep(3, null)),
new Recipe(null, null, 99,
new PreparationStep(1, null),
new PreparationStep(1, null)),
new Recipe());
Console.WriteLine(rc.ToString());