Export (0) Print
Expand All

Video How to: Writing Queries in C# (LINQ)

Visual Studio 2008

Writing Queries in C Sharp LINQVideo How To

Authors: Harry Miller, Kathleen McGrath, Michael Blome, Jo Molnar, Microsoft Corporation

Applies to: Microsoft Visual C# 2008

Length: 00:04:07 | Size: 29.7 MB | Type: WMV file


Watch the video

Download the video and transcript

Read the step-by-step article

Language Integrated Query (LINQ) makes a query a first-class language construct in Visual C#. You can write queries against strongly typed collections of objects by using language keywords and familiar operators. You do not have to learn a different query language for each type of data source: SQL databases, XML documents, various Web services, and so on.

This video shows you the C# language features that enable you to write LINQ query expressions. The following tasks are included in the process:

  • Creating an in-memory data source.

  • Creating the query.

  • Executing the query.

  • Modifying the query.

The Visual C# Help includes the code and the steps that are demonstrated in this video. See Walkthrough: Writing Queries in C# (LINQ).

Community Additions

© 2015 Microsoft