Visual Studio Samples
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to Visual Studio 2019. Download it here
You can find Visual Studio samples on the MSDN Code Gallery website.
You can use the New Project dialog box to browse for samples. (To open the dialog box, on the menu bar, choose File, New, Project.)
Here are some other places to look for samples.
|Windows Developer Center Samples||Shows how to develop Windows 8.x Store apps.|
|.NET Framework Samples||Shows various aspects of the .NET Framework in C# and Visual Basic.|
|C# Samples||Shows how to use different features of C#.|
|Visual Basic Samples||Shows how to use different features of Visual Basic.|
|F# Samples||Shows how to use different features of F#.|
|C++ Samples||Shows how to use different features in C++.|
|DirectX Samples||Shows how to use DirectX.|
|Office Development Samples||Shows how to use Office development tools in Visual Studio.|
|VSSDK Samples||Shows how to extend Visual Studio.|