namespace Anniversary_Count
static void Main(string[] args)
DateTime start_time = new DateTime(2018,12,17,0,0,0);
DateTime today = DateTime.Now;
int days = (today - start_time).Days;
int fromY = start_time.Year+1;
day = fromY % 4 == 0 ? day + 366 : day + 365;
string count = ((today - start_time).Days- day ).ToString();
Console.WriteLine("起始日:{0}", start_time.ToString());
Console.WriteLine("Today:{0}" , today.ToString());
Console.WriteLine("結婚{0}周年 + {1}天 快樂!!", years , count );