Choose Category
using System; namespace forgetCode { namespace forgetCode { class Program { static void Main(string[] args) { DateTime now = DateTime.Today; Console.WriteLine(now.ToString("yyyy")); DateTime then = now.AddMonths(12); Console.WriteLine(then.ToString("yyyy")); DateTime thenafter = then.AddDays(365); Console.WriteLine(thenafter.ToString("yyyy")); } } } }