public static void Main()
DateTime now = DateTime.Now;
Console.WriteLine("The current year is " + now + ". Enter the number of years you want to add: ");
int n = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("The new date is: " + DateTime.Now.AddYears(n));