Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of question mark in parameters
Message
De
09/11/2011 11:24:33
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
09/11/2011 10:07:34
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01528240
Message ID:
01528500
Vues:
34
>>Or make an Extension Method so the usage is more fluent:
>>
>>
>>   if (!tcValue.IsNullOrEmpty())
>>   {
>>       lcValue = tcValue;
>>   }
>>

>
>I like that Mike ... don't know why I didn't think of making that an Extension method! Thanks!
>
>~~Bonnie
>


I agree ... I also have extension methods for IsNotNullOrEmpty, just so I don't have to use the "!" operator which I sometimes miss when scanning code...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform