Visual Studio Samples

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. 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.)

Finding Samples

Here are some other places to look for samples.

Area Description
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#.
JavaScript Samples Shows how to use different features in JavaScript.
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. For the most current samples, see MSDN Developer Samples: Learn Through Code.
VSSDK Samples Shows how to extend Visual Studio.

See Also

Getting Started with Visual C# and Visual Basic