The User's Guide contains several code examples, and you can start a new project using the Visual Studio project template which is provided.