C# Walkthroughs

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.

In This Section

Accessing the Web by Using Async and Await
Shows how to create an asynchronous solution by using async and await.

Creating a Windows Runtime Component in C# or Visual Basic and Calling it from JavaScript
Shows how to create a Windows Runtime type, package it in a Windows Runtime component, and then call the component from a Windows 8.x Store app that's built for Windows by using JavaScript.

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 IronPython library.

Authoring a Composite Control with Visual C#
Demonstrates creating a simple composite control and extending its functionality through inheritance.

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 SplitContainer control.

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.

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.

See Also

C# Programming Guide
Visual Studio Samples