ReSharper Continues to Make My Life Easier as a Programmer

Posted by Peter Kellner on February 18, 2015 · 1 min read
Ad: Learn Modern JavaScript on YouTube (3 Hours & Free)

Again, it happened.  I was about go searching the web for the string format parameters to figure out how to format just the day of the week.  I type some code like this:

if (r.StartTime.HasValue)
{
    r.StartTimeFriendlyDay = r.StartTime.Value.DayOfWeek.ToString();
    r.StartTimeFriendlyTime = r.StartTime.Value.ToString("h:mm tt ");
    r.StartTimeDayOfWeek = r.StartTime.Value.ToString("")
}

And up pops up the below screen from JetBrains Resharper giving my choices for ToString(). Very nice! Just sayin...

image