>>
>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...
Ah, good idea.
I have a library of extension methods I'm going to throw out on github sometime. Everybody feel free to suggest others once it's up.