using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { internal class System { public bool theme_color = true; HashSet listeAnimaux = new HashSet(); HashSet listeEspece = new HashSet(); public void ChangeColor() { theme_color = !theme_color; } public void RechercheAnimal(string nom) { if (nom == null) { Console.WriteLine("Aucun animal ne s'appelle " + nom); return; } } public void AfficherListeAnimaux() { foreach (Animal aAnimal in listeAnimaux) { Console.WriteLine(aAnimal); } } public void Retour() { //num_page = num_page - 1; } } }