Essential Types C# Book

using System;
using System.Text;
class Sample
{
public static void Main()
{
DateTime thisYear = new DateTime(2007, 1, 1);
DateTime nextYear = thisYear.AddYears(1);
TimeSpan oneYear = nextYear - thisYear;
}
}