Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP inlist() in c#
Message
 
 
To
25/01/2013 13:45:25
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01320903
Message ID:
01564103
Views:
31
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform