How to use LINQ in Mono?

I guess what you would need to do is:

  1. In your project options set “Runtime version” to “Mono/.Net 3.5”
  2. Add reference to System.Core package (right click references in solution explorer)
  3. Add “using System.Linq” to your module

after that your code should compile and execute

hope this helps, regards

Leave a Comment