Explore the code as you learn to use the SharePoint Foundation 2010 managed client object model to work with managed Microsoft Visual C# code within the context of custom Silverlight 4 applications.
Continued here:
Sample: Integrating Custom Silverlight Applications with SharePoint Server 2010