Free C# Programming Book from Wikibooks
C# Programming Book
| C# Programming Cover | Introduction | Basics | Classes | .NET Framework | Advanced Topics | Index |
C# (pronounced "See Sharp") is a multi-purpose computer programming language suitable for all development needs. This WikiBook introduces C# language fundamentals and covers a variety of the base class libraries (BCL) provided by the .NET Framework.
Contents
Introduction
Although C# ( CSharp) is derived from the C programming language, it has features such as garbage collection that allow beginners to become proficient in C# more quickly than in C or C++. Similar to Java, it is object-oriented, comes with an extensive class library, and supports exception handling, multiple types of polymorphism,
and separation of interfaces from implementations. Those features,
combined with its powerful development tools, multi-platform support,
and generics, make C# a good choice for many types of software development projects: rapid application development
projects, projects implemented by individuals or large or small teams,
Internet applications, and projects with strict reliability
requirements. Testing frameworks such as NUnit make C# amenable to test-driven development and thus a good language for use with Extreme Programming (XP). Its strong typing helps to prevent many programming errors that are common in weakly typed languages. Wikipedia has more about this subject here: C Sharp
- Foreword
- A description of the C# and introduction to this Wikibook.
- Getting started with C#
- A simple C# program and where to get tools to compile it.
Language basics
- Basic syntax
- Describes the basics in how the applications you write will be interpreted.
- Variables
- The entities used to store data of various shapes.
- Operators
- Summarizes the operators, such as the '+' in addition, available in C#.
- Data structures
- Enumerations, structs, and more.
- Control statements
- Loops, conditions, and more. How the program flow is controlled.
Classes
- Namespaces
- Giving your code its own space to live in.
- Classes
- The blueprints of objects that describes how they should work.
- Objects
- Cornerstones of any object-oriented programming language, objects are the tools you use to perform work.
- Encapsulation and accessor levels
- Explains protection of object states by encapsulation.
The .NET Framework
- The .NET assembly
- All .NET solutions have their components contained in assemblies.
- .NET Framework Overview
- An overview of the .NET class library used in C#.
- The .NET framework
- A language is merely a way of communication. The .NET framework represents the tools at your disposal to get actual work done.
Advanced object-orientation concepts
Popularity: 5% [?]
Related Posts:





























