Mark's Stuff

My Foray Into Weblogging. Using this to store interesting items for later review.

Tuesday, November 22, 2005

David Connell : Testing for empty String

Best procedures for testing for empty string:

Bottom line. Use:
.Net 1.1: stringVal.Length == 0
.Net 2.0: string.IsNullOrEmpty(stringVal)


Post a Comment

Subscribe to Post Comments [Atom]

<< Home