Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP inlist() in c#
Message
 
 
À
25/01/2013 13:45:25
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01320903
Message ID:
01564103
Vues:
29
>>>It was you that started with Contains, if memory serves
>>>
>>>But anyway http://msdn.microsoft.com/en-us/library/czz5hkty.aspx
>>>
>>>Arrays implement the IEnumerable interface. http://msdn.microsoft.com/en-us/library/vstudio/9eekhta0(v=vs.100).aspx
>>> IEnumerable contains Contains.
>>>
>>> Hence, ...
>>
>>I needed to add
>>
>>using System.Linq
>>
>>for the above implementation to compile. And so far it worked great.
>
>
>Every new class adds system.linq automatically

Right - this one was existing class already and it only had using System. I added this inlist function and the Linq using.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform