Predicates Not Supported

I’m trying to use basic syntax for a predicate function in VB.net used to find objects in a generic list(Of T). The compiler is erroring out saying it’s missing a ‘)’, which it’s not. Are predicates available to use on this site?

I’m not a VB expert, but I suspect it’s related to the version of VB that’s supported by the CodinGame compiler. It’s sadly behind state-of-the-art:

The supported version is VB 8, which was released in 2005. VB 9, released in 2008, added support for critical features such as LINQ, lambda expressions, and extension methods.

  • dan

I think you’re right on the money. Thanks for the input.