다음을 통해 공유


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

Writing Queries in C Sharp LINQ Video 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

Video Summary

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).

Additional Video Resources

Video How Tos

MS Help WorkshopTOC Folder icon Visual C# Videos

link to videoVideo How to: Create a C# Windows Forms Application

link to videoVideo How to: Writing Queries in Visual Basic

Other Videos

Additional Help Resources