Chris McGrath’s Blog

Just another Developer’s Blog

Tip: Remember using System.Linq

leave a comment »

I was updating an old file that hadn’t been touched since dotNet 2 and wanted to use the Linq extension method ‘Select’ method. But it wasn’t showing up. I checked to make sure the assembly was dotNet 3.5 and it had a reference to System.Core. I was stumped.

Luckily it eventually came to me that I was missing System.Linq from my using list. But it’s an easy thing to miss and the Smart Tags don’t detect it. Maybe there should be an option to make it a warning if a file is missing it.

Written by Chris McGrath

April 16, 2009 at 1:02 pm

Posted in Blog

Tagged with , ,

Leave a comment