Copyright © 2000-2008 C# Station, All Rights Reserved
Introduction:
Welcome to the C# Station Tutorial. This is a set of lessons
suited for beginning to intermediate programmers or anyone who would like to
gain familiarity with the C# programming language. These lessons will
help you get a quick head-start with C# programming.
To get started, you will need a compiler and an editor. There are
several options for obtaining a compiler to write C# programs.
A free option is to download the
.NET Frameworks SDK and use
Notepad. Of course there are many editor and IDE options available,
so see the Tools
section to select the option that's right for you. Most of the examples in
these tutorials run as console programs. Microsoft
Visual Studio .NET
is also available in multiple versions as well as a free download for
Visual Studio Express tools,
including Visual C# Express.
This tutorial is a work in progress. It's quality is a product
of volunteer reviews and valuable feedback received from many readers.
Please visit periodically for the latest updates and new lessons.
Once you've completed this tutorial, you may be interested in
additional resources to continue learning C#. There are additional
Articles on this site and a Links section will guide you
to many high-quality web sites that specialize in certain .NET
technologies.
I hope you enjoy the tutorial, and best of luck!
Joe
Source Code:
CSharpTutorial.zip
References:
C# Language Reference, Anders
Hejlsberg and Scott Wiltamuth
ECMA
C# and Common Language Infrastructure Standards
Lessons:
| [html] |
[code] |
Lesson 01: Getting Started
|
| [html] |
[code] |
Lesson 02: Expressions, Types, and Variables
|
| [html] |
[code] |
Lesson 03: Control Statements - Selection |
| [html] |
[code] |
Lesson 04: Control Statements - Loops |
| [html] |
[code] |
Lesson 05: Methods
|
| [html] |
[code] |
Lesson 06: Namespaces |
| [html] |
[code] |
Lesson 07: Introduction to Classes |
| [html] |
[code] |
Lesson 08: Class Inheritance |
| [html] |
[code] |
Lesson 09: Polymorphism |
| [html] |
[code] |
Lesson 10: Properties |
| [html] |
[code] |
Lesson 11: Indexers |
| [html] |
[code] |
Lesson 12: Structs |
| [html] |
[code] |
Lesson 13: Interfaces |
| [html] |
[code] |
Lesson 14: Introduction to Delegates and Events
|
| [html] |
[code] |
Lesson 15: Introduction to Exception Handling |
| [html] |
[code] |
Lesson 16: Using Attributes |
|
[html] |
[code] |
Lesson 17: Enums
|
| [html] |
[code] |
Lesson 18: Overloading Operators |
|
[html] |
[code] |
Lesson 19: Encapsulation |
|
[html] |
[code] |
Lesson 20: Introduction to Generic Collections |
|
[html] |
[code] |
Lesson 21: Anonymous Methods |
Copyright © 2000-2008 C# Station, All Rights Reserved