Reasons to Love Refactoring with ReSharper

It started like this.

string responseValue;

if (null == vcapResponse)
{
    responseValue = message;
}
else
{
    responseValue = vcapResponse.Description;
}

return responseValue;

…and after a few alt+enter hits…

return null == vcapResponse ? message : vcapResponse.Description;

I ended up with that beauty. Oh yeah. šŸ™‚

…and for today, that’s it. Whew!