Softlogger
Categories

String.IsNullOrEmpty()


One of my favorite additions to the .NET framework in 2.0 is the wonderful String.IsNullOrEmpty method. In the old 1.1 days we'd often times end up with code that looks something like this: public string DoSomeSuperCoolStringThing(string myString) { if(myString != null && myString.Length > 0) { // the good stuff

Filed under: ASP.NET  |    On : 2005 Dec 16  |  From: Steve Eichert - .NET   | related Posts

Similar Posts



Most Popular

Archives

  • 2008
  • 2007
  • 2006
  • 2005
  • 2004
  • 2003