DateTime - Tomorrow

A DateTime extension method that returns the tomorrow of the given DateTime ofbject.

Try it

public static void Main()
{
    DateTime todayDate = DateTime.Now;
	
	Console.WriteLine("Current Date          : {0}", todayDate.ToFullDateTimeString());
	
	// C# Extension Method: DateTime - Tomorrow
	DateTime tomorrow = todayDate.Tomorrow();
	
	Console.WriteLine("After calling Tomorrow: {0}", tomorrow.ToFullDateTimeString());
}

View Source
using System;

public static partial class Extensions
{
    /// <summary>
    ///     A DateTime extension method that tomorrows the given this.
    /// </summary>
    /// <param name="this">The @this to act on.</param>
    /// <returns>Tomorrow date at same time.</returns>
    public static DateTime Tomorrow(this DateTime @this)
    {
        return @this.AddDays(1);
    }
}