SharePoint 2010 101 Code Samples are now available on Microsoft Developer Network's Samples website. A extremely useful resource for developers.
SharePoint 2010 101 Code Samples
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010
Samples are of great help.