static void Main(string[] args) { Tage einTag = Tage.Montag; Console.WriteLine(einTag); Console.ReadKey(); }
public void AddToday() { if (AktuellerTag == null || AktuellerTag.Day.ToShortDateString() != DateTime.Now.ToShortDateString()) { Tage.Add(new Tag() { Day = DateTime.Now, Log = "" }); } }