Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if a DateTime is between two other DateTimes
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01375956
Message ID:
01376214
Vues:
15
>>>>Extension method ok ?
>>>
>>>Isn't that a 3.0 feature, or can I use extension methods in 2.0?
>>>
>>>Code sample is awesome. Thanks Gregory.
>>>
>>>Einar
>>_
>>
>>Yeah, sorry - did not see the 2.0
>>
>>Once you have 3.0 (we're now at 3.5) you can combine extension methods with generics.
>
>That is OK. I had only read about extension methods before and was glad to see how sweet it could be done.
>I am hoping to upgrade to 3.5 after this project is released for volume production.
>
>Again thanks for the reply

In any case, you can take out the 'this' in the parameters. Then you can call the static method with 3 parameters
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform