Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP inlist() in c#
Message
De
25/01/2013 13:50:21
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01320903
Message ID:
01564105
Vues:
49
>>>>But you're right, Contains() is less code
>>>
>>>Which one performs better? I'm adding this to our string extensions, thanks.
>>
>>
>>You'll have to test it
>
>I decided to use generics one.


i wouldn't be surprised if Array.IndexOf() != -1 were faster than Contains()
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform