Ok, so I am converting someone's code from VB.Net to C#. I was wondering if a string is set to "", is that the same as it being set to null? For example, would the following code:
string word = "";
bool boolValue = false;
if(string == null)
{
boolValue = true;
}
So would this end up setting boolValue to true, or is setting word to "" or null two different things? My gut feeling tells me that it is different. That "" just makes it an empty string.