题目
`
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
DateTime years = DateTime.Now;
DateTime nextYears = years.AddYears(1);
Console.WriteLine(“今年为”+years.Year.ToString()+“年”);
Console.WriteLine(“明年为”+nextYears.Year.ToString()+“年”);
Console.Write(“输入你的年龄:”);
string strAge = Console.ReadLine();
int age = Convert.ToInt32(strAge);
age = age + 1;
Console.WriteLine(nextYears.Year.ToString()+“年你的年龄为:” + age + “岁”);
Console.ReadKey();
}
}
}