The Microsoft Office Developer Center has created 101 code samples for SharePoint 2010. These samples cover a wide range of useful tasks from working with lists and document libraries, to using BCS. The C# samples, in most cases, have a companion VB.NET project. There are also samples written in JavaScript. The list of samples were compiled from suggestions submitted by the SharePoint community via this blog.
Be sure to check them out. We are sure that you will find something to use in your own solutions. You can get the descriptions of each sample and a link to each individual sample at:
http://code.msdn.microsoft.com/SharePoint-2010-101-Code-da251182
Enjoy!
http://www.google.com.hk/#newwindow=1&safe=strict&site=&source=hp&ei=F17OUZezMYiPiAewjYHYDA&q=sharepoint+2010+search&oq=sharepoint+2010+search&gs_l=tablet-gws.3...2288.12581.0.13043.22.22.0.0.0.0.298.715.0j3j1.4.0...0.0...1c.1.18.tablet-gws.ks_qB-_PB4M&bav=on.2,or.&bvm=bv.48572450,d.aGc&fp=281e1c518cf9886&biw=1024&bih=672