Lambda at VB.net?

In C #, I would just do this:

myIEnumerable.Where(i=>i.ReturnsABool()).any(); 

How do I do this on VB.net? I'm stuck on how to formulate a lambda ..

+7
c # lambda
source share
1 answer

try it

 myIEnumerable.Where(Function (i) i.ReturnsABool()).Any() 
+13
source share

All Articles