Microsoft Developer Network > Samples >
Official Visual Studio 2008 C# Samples

Official Visual Studio 2008 C# Samples

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


Select a language
 
 
 
 
 
(8)
7,048 times
11/28/2011
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
View Samples
Q and A (1)
Sort By:
42 Samples
This project contains about 101 samples using LINQ.
5/31/2011
29,902 Downloads
(46)
This sample demonstrates the following threading techniques. See Threading (C# Programming Guide) for more information.
11/21/2011
170 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
196 Downloads
C#
(0)
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
232 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
193 Downloads
C#
(0)
LINQ to Northwind is a LINQ to SQL database example program. In the file
called Samples.cs there are fifteen sample LINQ to SQL
queries stored in static methods that are named sequentially as
Sample1(), Sample2(), etc. By default, the
main file in the project, Program.cs,
11/21/2011
189 Downloads
C#
(0)
This sample shows several versions of a Hello World program in C#.
11/21/2011
219 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
224 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
202 Downloads
C#
(0)
This program is the Hello World of the LINQ samples and is designed to show
you how simple LINQ to Objects queries can be. It shows the minimal code
necessary to write a LINQ to Objects query over a list.
11/21/2011
101 Downloads
C#
(0)
1 - 10 of 42 Items   
« First   < Prev   1  2  3  4  5    Next >   Last »
Sign in to Ask a Question


  • i want laern c#
    2 Posts | Last Post December 14, 2011
    • I want learn c# i am new in this fild .I dont no How to start c# programming pleas help me ... waht is simple way to learn 
      i am new pleas want basic help 
    • http://lmgtfy.com/?q=introduction+c%23