I just found that there is a "new" thing to check the string is null or empty (asp.net 2.0)
old way:
if (var == string.Empty && var == null)
new way:
if (String.IsNullOrEmpty(var))
It looks cool right? Enjoy!
2009/08/07
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment