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
 
 
 
 
 
(9)
7,996 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
30,462 Downloads
(46)
This sample shows several versions of a Hello World program in C#.
11/21/2011
242 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
228 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
213 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
248 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
248 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
206 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
208 Downloads
C#
(0)
This program includes a simple LINQ to XML sample query. It shows the minimal
code necessary to write a LINQ to XML query.
11/21/2011
116 Downloads
C#
(0)
This is a simple example of how to use LINQ datasource in a WinForm.
11/21/2011
174 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