Date Time C#

using System;
class MainClass
{
    static void CreateTimeSpan( int hours, int minutes, int seconds )
    {
        TimeSpan elapsedTime = new TimeSpan( hours, minutes, seconds );
        string ctor = String.Format( "TimeSpan( {0}, {1}, {2} )", hours, minutes, seconds);
        Console.WriteLine( "{0,-37}{1,16}", ctor, elapsedTime.ToString( ) );
    }
    static void Main( )
    {
        CreateTimeSpan( 10, 20, 30 );
    } 
}