Current Date and Time in C#

The DateTime object can be used to get the date and time.
DateTime.Now will result in current date and time.

For displaying the value to console, it is converted as string.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication3
    class Program
        static void Main(string[] args)
            DateTime dt = DateTime.Now;
            Console.WriteLine("Current Time is {0} ", dt.ToString());