Date Time C#

using System;
class MainClass {
    public static void Main() {
        DateTime myDateTime = DateTime.Now;
        Console.WriteLine("myDateTime.Date = " + myDateTime.Date);
        Console.WriteLine("myDateTime.Day = " + myDateTime.Day);
        Console.WriteLine("myDateTime.DayOfWeek = " + myDateTime.DayOfWeek);
        Console.WriteLine("myDateTime.DayOfYear = " + myDateTime.DayOfYear);
        Console.WriteLine("myDateTime.Ticks = " + myDateTime.Ticks);
        Console.WriteLine("myDateTime.TimeOfDay = " + myDateTime.TimeOfDay);
    }
}