Look at the following code. Are they the same? Is there any difference? If yes what?
string f = textBox5.Text;
if (string.IsNullOrEmpty(f))
{
MessageBox.Show("string");
}
if (String.IsNullOrEmpty(f))
{
MessageBox.Show("String");
}
Edit: Is a null or empty string
test exactly the same as null or empty String
test?