static void Main(string[] args)
        {
            Tage einTag = Tage.Montag;

            Console.WriteLine(einTag);

            Console.ReadKey();
        }
Exemplo n.º 2
0
 public void AddToday()
 {
     if (AktuellerTag == null || AktuellerTag.Day.ToShortDateString() != DateTime.Now.ToShortDateString())
     {
         Tage.Add(new Tag()
         {
             Day = DateTime.Now, Log = ""
         });
     }
 }