Get the latest code samples for Visual Studio. Here you'll find links to sample applications and code snippets from Microsoft and the Visual Studio community.
Learn how to use LINQ in your applications with these C# code samples, covering the entire range of LINQ functionality and demonstrating LINQ with SQL, DataSets, and XML.
Learn how to use LINQ in your applications with these Visual Basic code samples, covering the entire range of LINQ functionality and demonstrating LINQ with SQL, DataSets, and XML.
An end-to-end WPF application sample that illustrates Entity Framework 4.0 features. Features include common design patterns such as Repository, Unit of Work, and Model View View-Model that promote testability and maintainability of code.
Samples demonstrate how to create data-based forms solutions that check user input with validation code, demonstrate common controls such as DataGrid and ComboBox, and show typical data manipulation including create, read, update, and delete.
Samples for the Team Foundation Server SDK (samples are no longer included with the Visual Studio SDK), deep dive documentation, and links to shared source projects and other resources.