Simple String.NullOrEmpty method?
Chris Sells <[email protected]> Wed, 26 Jun 2002 22:29:51 -0700
| Newsgroups | gmane.comp.windows.devel.dotnet.general |
|---|---|
| Organization | Your Name Here |
| Message-ID | <000001c21d9b$aac37db0$6a01a8c0@mungo> |
Is there some method on String that checks for null or Length zero that I'm missing? I hate writing "if( (s == null) || (s.Length == 0) )" all the time! If there is no such method, can we get one? Thanks. Chris Sells http://www.sellsbrothers.com/ You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.