Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why a string comes back as null
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Application:
Desktop
Divers
Thread ID:
01365266
Message ID:
01365384
Vues:
9
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. :) :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform