John Baird
Coatesville, Pennsylvanie, États-Unis
Versions des environnements
Network:
Windows 2008 Server
>I used in many places in my program the .length property of a way to check if a string is empty. But now that I learned from you and Craig about this "string.IsNullOrWhiteSpace()" I like it much better. Will have to do a lot of refactoring.
>
>>See string.IsNullOrWhiteSpace()
>>
That's the beauty of creating your own extension methods. You don't have to refactor everything to make a change in behavior. I have my own extensions library for just about every data type there is..
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement