using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CalculateTimeDifference { class Program { static void Main( string [] args) { string result; // start time of this program DateTime dStart = DateTime.Now; result = string .Format(" Start: Year:{0}, Month:{1}, Day:{2}, Hour:{3}, Minute:{4}, Second:{5}, Millisecond:{6}, In Ticks:{7} ", dStart.Year, dStart.Month, dStart.Day, dStart.Hour, dStart.Minute, dStart.Second,dStart.Millisecond, dStart.Ticks); Console.WriteLine(result); Console.ReadLine(); // wait until you press enter // end time of this program DateTime dEnd = DateTime.Now; result = string .Format(" End : Year:{0}, Month:{1}, Day:{2}, Hour:{3}, Minute:{4}, Second:{5}, Millisecond:{6}, In Ticks:{7} ", dStart.Year, dStart.Month, dEnd.Day, dEnd.Hour, dEnd.Minute, dEnd.Second, dEn...