Bad R# suggestion

by Marius Gheorghe 30. June 2008 16:07
Had :
if (string.IsNullOrEmpty(textBoxSendData.Text))
{
MessageBox.Show("please enter the data");
return;
}

and R# offered a conversion suggestion to :

if (!string.IsNullOrEmpty(textBoxSendData.Text))
{
return;
}
MessageBox.Show("please enter the data");
return;

Bad R# :D
Comments are closed

marius gheorghe

developer, dad, gamer

Contact me

My Resume

Favourite Tools