Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
Walkthroughs give step-by-step instructions for common scenarios, which makes them a good place to start learning about the product or a particular feature area.
This section contains links to C# programming walkthroughs.
Office Programming (C# and Visual Basic)
Shows how to create an Excel workbook and a Word document by using C# and Visual Basic.
Creating and Using Dynamic Objects (C# and Visual Basic)
Shows how to create a custom object that dynamically exposes the contents of a text file, and how to create a project that uses the
Authoring a Component with Visual C#
Shows the development of a simple component, illustrating the interaction between client and component, object lifetime and circular references, debugging clients and components, and the use of shared methods and instance methods.
Authoring a Composite Control with Visual C#
Demonstrates creating a simple composite control and extending its functionality through inheritance.
Authoring a Simple Multithreaded Component with Visual C#
Demonstrates creating a multithreaded component, explaining how threads work and how to coordinate multiple threads in your component.
Creating a Windows Forms Control that Takes Advantage of Visual Studio Design-Time Features
Illustrates how to create a custom designer for a custom control.
Inheriting from a Windows Forms Control with Visual C#
Demonstrates creating a simple inherited button control. This button inherits functionality from the standard Windows Forms button and exposes a custom member.
Debugging Custom Windows Forms Controls at Design Time
Describes how to debug the design-time behavior of your custom control.
Performing Common Tasks Using Smart Tags on Windows Forms Controls
Demonstrates some of the commonly performed tasks such as adding or removing a tab on a
TabControl, docking a control to its parent, and changing the orientation of a
Writing Queries in C# (LINQ)
Demonstrates the C# language features that are used to write LINQ query expressions.
Manipulating Data (C#) (LINQ to SQL)
Describes a LINQ to SQL scenario for adding, modifying, and deleting data in a database.
Simple Object Model and Query (C#) (LINQ to SQL)
Demonstrates how to create an entity class and a simple query to filter the entity class.
Using Only Stored Procedures (C#) (LINQ to SQL)
Demonstrates how to use LINQ to SQL to access data by executing only stored procedures.
Querying Across Relationships (C#) (LINQ to SQL)
Demonstrates the use of LINQ to SQL associations to represent foreign-key relationships in a database.
Serializing Collections of Standard Types with the DesignerSerializationVisibilityAttribute
Demonstrates how to use the
DesignerSerializationVisibilityAttribute class to control how a collection is serialized at design time.
Writing a Visualizer in C#
Shows how to write a simple visualizer by using C#.
Deployment Samples and Walkthroughs
Provides step-by-step examples of common deployment scenarios.