How to Get Current Date in C#/CSharp

using System;



namespace Hello_World
{

    class Program
    {
        static void Main(string[] args)
        {
            DateTime today = DateTime.Now;

            Console.WriteLine(today.ToShortDateString());
        }
    }
}
;

 

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •