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...
In C# I have changed the pointer into to a string variable.Code:if(!pMyString) //it hasn't been initialised yet else //it has
Now if I have:
what is it's state now, it is null, nothing, empty, "" or what?Code:string MyString; //...
And how do I test it.
Thanks.
PS, why didn't anyone tell me that Managed C++ was so arse?![]()




Reply With Quote