Client Side Object Model in managed code
{the project contain examples}

Additional information on starting a new project is available here: Project Startup Guide.