Miquel,
Jack's answer:
Dim containsValue As Boolean = myList.Any(Function(item)
item.NameParameter = nameParameterValue)
Is correct for the RTM version of VS 2008.
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
"shapper" <md*****@gmail.comwrote in message
news:3e**********************************@b15g2000 hsa.googlegroups.com...
Hello,
Could someone, please, convert the following code line to VB.NET?
bool containsValue = myList.Any(item =item.NameParameter ==
nameParameterValue);
(This is .NET 3.5. I couldn't find a converter that does this)
Thanks,
Miguel