This documentation is archived and is not being maintained.

LINQ Sample Applications in Visual Basic

.NET Framework 3.5

Samples that demonstrate LINQ technologies in Visual Basic are provided on the local drive at drive:\Program Files\Microsoft Visual Studio 2008\Samples and at the following online locations:

Visual Studio 2008 Samples page

The Visual Basic Developer Center

Instructions for opening and running the samples are also located online.

Sample Queries (Visual Basic)

Start here if you are new to LINQ. Provides a wide range of examples of query operations for LINQ to Objects, LINQ to SQL, LINQ to XML, and LINQ to DataSet.

Dynamic Query Sample (Visual Basic)

Illustrates how to create LINQ queries dynamically at run time.

Expression Tree Visualizer Sample (Visual Basic)

Provides a working implementation of a visualizer that can be run inside the Visual Studio debugger to view the contents of an expression tree.

LINQ to Northwind Sample (Visual Basic)

Provides examples of using LINQ to SQL to query a database.

LINQ to XML Data Binding Sample (Visual Basic)

Demonstrates LINQ to XML data binding in Windows Presentation Foundation (WPF).

Object Dumper Sample (Visual Basic)

A library that you can add to your solution to output the results of LINQ queries.

Reflector Sample (Visual Basic)

Generates an HTML document that outlines the public API for a particular assembly.

RSS Sample (Visual Basic)

Acts as a small Web server that aggregates several RSS feeds and displays them in a browser.

Simple Lambdas Sample (Visual Basic)

Provides examples of simple lambda expressions used outside of queries.

Windows Forms Data Binding Sample (Visual Basic)

Demonstrates how to use LINQ in Windows Forms data-binding scenarios.

Introduction to LINQ to XML Sample (Visual Basic)

Demonstrates important concepts about LINQ to XML.

XQuery Sample (Visual Basic)

Shows how to use LINQ to XML to solve the use cases in the XQuery standard.

LINQ C# Samples

Includes sample applications that demonstrate LINQ functionality in C#.

Language-Integrated Query (LINQ)

Includes a general explanation of LINQ and links to information about related technologies.