Welcome to SofiaDev.Org's Blogs Sign in | Join | Help

21 Януари 2007 - Posts

Playing with strings (part 2 of n)

Do you know, that there's a build-in check for empty/null strings in .NET 2.0? So instead of doing this:   string strValue = ""; if (null == strValue || strValue.Length <= 0) {   //do something } You can do this: string
posted by branimir | 0 Comments