This section contains abstracts that describe the samples that are included with Visual Studio. You can access the samples on the Visual Studio main menu by clicking Help and then clicking Samples. The samples themselves are located locally at drive:\Program FIles\Microsoft Visual Studio 9.0\Samples. In addition, the Windows Software Development Kit (SDK) includes technology samples, application samples, and QuickStart tutorials that demonstrate .NET Framework features and Visual C# code.
The QuickStart Tutorials are the fastest way to understand what the .NET Framework technology offers leading-edge developers. The QuickStart tutorials include a series of samples and supporting documentation designed to quickly acquaint you with the syntax, architecture, and power of Visual Studio and the .NET Framework. The QuickStart tutorials include samples on ASP.NET, Windows Forms applications, and many how-to applications that explain the most compelling features of the .NET Framework technology. For more information, see Samples and QuickStarts.

Introductory Samples

Intermediate and Advanced Samples
Attributes Sample
|
Shows how to create custom attribute classes, use them in code, and query them through reflection.
|
COM Interop Part 1 Sample
|
Shows how to use C# to interoperate with COM objects.
|
COM Interop Part 2 Sample
|
Shows how to a use a C# server together with a C++ COM client.
|
Libraries Sample
|
Shows how to use compiler options to create a DLL from multiple source files; also, how to use the library in other programs.
|
Nullable Sample
|
Demonstrates value types that can be set to null.
|
OLE DB Sample
|
Demonstrates how to use a Microsoft Access database from C#. It shows how you can create a dataset and add tables to it from a database.
|
Partial Types Sample
|
Demonstrates how classes and structures can be defined in multiple C# source-code files.
|
Platform Invoke Sample
|
Shows how to call exported DLL functions from C#.
|
Security Sample
|
Discusses .NET Framework security and shows two ways to modify security permissions in C#: using permission classes and permission attributes.
|
Threading Sample
|
Demonstrates various thread activities such as creating and executing a thread, synchronizing threads, interacting between threads, and using a thread pool.
|
Unsafe Code Sample
|
Shows how to use pointers.
|
XML Documentation Sample
|
Shows how to document code by using XML.
|

See Also