Translating C++.Net code to C# - {RESOLVED}
I've seen the light, I've given up C++.net and as a result, I've got a large chunk of code to trawl through to move over to C#.
One thing though, In C++ I used this to test whether a pointer had been initialised...
Code:
if(!pMyString)
//it hasn't been initialised yet
else
//it has
In C# I have changed the pointer into to a string variable.
Now if I have:
Code:
string MyString;
//...
what is it's state now, it is null, nothing, empty, "" or what?
And how do I test it.
Thanks.
PS, why didn't anyone tell me that Managed C++ was so arse? :D