Wednesday, February 10, 2016

Format a timespan object in c# for display


new timespan initialized to 0
and then read as minutes:seconds:milliseconds (precision 2 digits)

TimeSpan ts = new TimeSpan(0, 0, 0); 
string tsString = ts.ToString("mm':'ss':'ff"); 

No comments:

Turn on Windows 11 Fast Boot

If windows starting is slow, to enable windows 11 fast startup/boot,  Press Windows + R, type powercfg.cpl, and hit Enter.  This will direct...