void ToDo(DateTime currentDate){ if(DateTime.Compare(currentDate, DateTime.Today)){ sleep(); return; } else if(isHungry==true) Eat(); else code(); ToDo(currentDate.AddHours(1)); }