/// <summary> /// Affiche les elements de la classe prestation /// </summary> /// <returns></returns> public override string ToString() { string prestation = libelle + " - " + dateSoin.Day + "/" + dateSoin.Month + "/"; prestation += +dateSoin.Year + " " + dateSoin.Hour + ":" + dateSoin.Minute + ":" + dateSoin.Second + " - "; prestation += "Intervenant : Dr" + l_Intervenant.ToString() + "\n"; return(prestation); }