Skip to content

ReSharper Continues to Make My Life Easier as a Programmer

Updated: at 05:05 PM

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