TOC

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

Getting started:

Introduction

Esiet sveicināti šajā C# apmācībā. Ieviešot .NET sistēmu, Microsoft iekļāva jaunu valodu, ko sauc par C# (izrunā C Sharp). C# ir veidots kā vienkārša, moderna, universāla un objektorientēta programmēšanas valoda, aizņemoties galvenās koncepcijas no vairākām citām valodām, jo īpaši 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.

Turpmākajās nodaļās jums būs iespēja iepazīties ar svarīgākajiem C# valodas tematiem.