Getting Started With LINQ

UPDATED: 19 Jan 2008

I’ve been taking a look at LINQ over the last few days and decided to highlight a few good places to start if you are also new to LINQ.

First, a lot of the sample LINQ code uses new C# 3.0 functionality, so it’s best to read and understand this document first:

1. C# 3.0 Language Enhancements Hands On Lab, and also watch a movie here

Then I suggest reading the MSDN content (if you can live with the awful navigation…)

2. Language-Integrated Query (LINQ) on MSDN. (NOTE: there is a lot of information here, if your mind starts drifting, move on to the Hands On Labs for a break.)

Then do the following two Hands On Labs

3. LINQ Hands On Labs

4. LINQ to SQL Hands on Lab (Optional, i.e. only if you intend working with SQL)

Then I suggest working through as many LINQ samples as possible

5. LINQ Samples

The next step is to take a look at some of your old code and refactor it using LINQ where applicable. Practice makes perfect!

That should give you a pretty good foundation. You may wish to purchase a book to gain a more solid understanding, or you can download the free PDF version of Introducing Microsoft LINQ.

Good Luck… FTD

Advertisements
This entry was posted in LINQ. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s