Official Visual Studio 2008 C# Samples

We have created a set of language samples to help you get familiar with various C# language features.

 
 
 
 
 
(11)
15,821 times
Add To Favorites
11/28/2011
E-mail Twitter del.icio.us Digg Facebook
Sort By:
40 Samples
This project contains about 101 samples using LINQ.
5/31/2011
35,297 Downloads
(49)
The Expression Tree Visualizer can be used in a debug environment to visualize expressions.
To use the visualizer the dll generated by the ExpressionTreeVisualizer project must be copied
to ...\Documents\Visual Studio 2008\Visualizers. You may need to create the
Visualizer
11/21/2011
594 Downloads
C#
(0)
This sample shows several versions of a Hello World program in C#.
11/21/2011
503 Downloads
C#
(0)
This sample shows how to create a list class which implements IEnumerable<int> and the yield keyword to enable foreach iteration over the contents of the list. Two properties are defined, one returning the odd numbers, the other returning the even numbers.
11/21/2011
446 Downloads
C#
(0)
This 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. The BugTypes.mdb database used in the sample program is a Microsoft Access 2000 .mdb file.
11/21/2011
517 Downloads
C#
(0)
This sample describes and shows how arrays work in C#. See Arrays (C# Programming Guide) for more information.
11/21/2011
356 Downloads
C#
(0)
This sample demonstrates the following threading techniques. See Threading (C# Programming Guide) for more information.
11/21/2011
413 Downloads
C#
(0)
The sample is a short introduction to System.Xml.Linq building on the
user's familiarity with the XML DOM API. The goal is to illustrate how to
construct a predefined XML document using Linq to XML. Two different approaches
are showcased. First, the document is assembled using
11/21/2011
454 Downloads
C#
(0)
This sample shows how to use XML to document code. See XML Documentation Comments (C# Programming Guide) for additional information.
11/21/2011
470 Downloads
C#
(0)
This sample demonstrates how to modify security permissions through permission classes and permission attributes. For additional information, see Security (C# Programming Guide).
11/21/2011
238 Downloads
C#
(0)
1 - 10 of 40 Items   
« First   < Prev   1  2  3  4    Next >   Last »