TOC

This article is currently in the process of being translated into Catalan (~28% done).

Getting started:

Introduction

Benvingut a aquest tutorial de C#. Amb la introducció del Framework .NET, Microsoft va incloure un nou llenguatge anomenat C#, que està destinat a ser un simple, modern, de propòsit general, llenguatge de programació orientat a objectes, agafant conceptes claus de diversos altres llenguatges, majoritàriament de Java.

C# could theoretically be compiled to machine code, but in real life, it's always used in combination with the .NET framework. Therefore, applications written in C#, requires the .NET framework to be installed on the computer running the application. While the .NET framework makes it possible to use a wide range of languages, C# is sometimes referred to as THE .NET language, perhaps because it was designed together with the framework.

C# is an Object Oriented language and does not offer global variables or functions. Everything is wrapped in classes, even simple types like int and string, which inherit from the System.Object class.

In the following chapters, you will be guided through the most important topics about C#.