score:106

Accepted answer

the lambda syntax isn't that much different than creating a regular delegate.

if creating a lambda which has a return value, use function. otherwise if you're creating one that doesn't, use sub.

dim _new = orders.select(function(x) x.items > 0)

dim action as action(of item) = sub(x) console.writeline(x.items)

Related Query

More Query from same tag