Download these C# samples to learn more about building Windows-based applications, Web applications, and XML Web services.
Whenever the C# Team discovers something cool or fun in the product or language, the team puts together a sample code fragment for you. To use these samples, just extract them and open the project from within Visual Studio .NET. Code commments will tell you what the sample does. If more of an explanation is needed, the download will include a document that explains the sample code in more detail.
.gif) | Visual C# Code Snippets Download the new Visual C# code snippets, which are reusable, task-oriented blocks of code that can help you with programming tasks ranging from sending an e-mail, to reading a value from the Windows registry, to creating a connection to a SQL Server Express database. |
.gif) | C# Tutorials The C# tutorials provide an overview of the basics of the language and identify important language features. Each tutorial includes one or more sample programs. The tutorials discuss the sample code plus provide additional background information. They also link to the corresponding sample abstract topics, where you can download and run the sample programs. |
.gif) | Visual C# Samples Find sample code in Visual C# that demonstrates common simple programming tasks. If you're new to C#, these samples give you great guidance for getting your feet wet in C# programming. |
.gif) | Visual C# Code Example Topics Code example topics in the Visual C# .NET documentation are designed to present concise, real-world examples of common tasks. These topics are organized by feature area. |
.gif) | 23 C# Code Samples View this set of code samples to understand how to work with the most essential components of the Microsoft .NET Framework and accomplish the most common coding tasks in C#. |
.gif) | 101 Visual Basic and C# Code Samples Download this master set of Visual Basic and Visual C# code samples. These samples demonstrate various aspects of the language, including syntax, Web services, the .NET Framework, and many others. |
.gif) | Visual Studio Samples Refer to the guide and links to sample applications created for the .NET Platform. The code in each sample illustrates the syntax and structure of the underlying development language.
|
.gif) | Code Samples from WindowsForms.NET Get the coolest code samples for Windows Forms applications found by the Microsoft Windows Forms team. Check back for the latest finds. |
.gif) | ASP.NET Start Kits The ASP.NET Starter Kits are sample ASP.NET applications that provide code to accomplish common Web development tasks. Each sample is complete and well-documented so that you can use the code to kickstart your ASP.NET development projects today. |
.gif) | ASP.NET Source Projects These sample applications from www.asp.net demonstrate just how easy it is to build Web apps using ASP.NET. Each comes with full source code and EULA for redistributing the source. |
.gif) | GotDotNet User Samples Find links to all user samples uploaded to GotDotNet. |
.gif) | .NET Architectural Sample Applications Consult this catalog of .NET architectural sample applications, with links to more detailed information and download points. |