linq Getting started with linq Setup

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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


Got any linq Question?