To See Your Current Date And Time

  1. using System;    
  2. using System.Collections.Generic;    
  3. using System.Linq;    
  4. using System.Text;    
  5. using System.Threading.Tasks;    
  6.     
  7. namespace Time    
  8. {    
  9.     class Program    
  10.     {    
  11.         static void Main(string[] args)    
  12.         {    
  13.             Console.Write("Current Date and Time is : ");    
  14.             DateTime now = DateTime.Now;    
  15.             Console.WriteLine(now);    
  16.             Console.ReadLine();    
  17.         }    
  18.     }