jump to navigation

Validating Strings for Empty or Null July 10, 2006

Posted by Siva in .NET.
trackback

Checking string variables for empty or null is always used to be via direct comparision. However with .NET 2, the shortcut is String.IsNullOrEmpty(). Pretty cool ugh…!

Comments»

1. Kamal - October 11, 2006

hi how to validate a string reference whether it contains characters or numeric or special characters in C# .net


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.