Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of question mark in parameters
Message
From
09/11/2011 11:24:33
John Baird
Coatesville, Pennsylvania, United States
 
 
To
09/11/2011 10:07:34
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01528240
Message ID:
01528500
Views:
37
>>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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform