Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why a string comes back as null
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Application:
Desktop
Miscellaneous
Thread ID:
01365266
Message ID:
01365384
Views:
8
Interesting. I have not thought about checking the length. If your String is nullable does null come out as 0?

Boils down to preferences I guess. I use the String.Empty just because it makes me feel like a real OOP programmer and my intellisense settings color the syntax a pretty teal color. :) :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform