linq Setup


Example

LINQ requires .NET 3.5 or higher (or .NET 2.0 using LINQBridge).

Add a reference to System.Core, if it hasn't been added yet.

At the top of the file, import the namespace:

  • C#
  using System;
  using System.Linq;
  • VB.NET
  Imports System.Linq