TOC

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

Operatori:

Introducere

Operatorii sunt de fapt simboluri, adică un singur caracter sau o combinație anume de cateva caractere care stabilesc operația de efectuat (matematică, dar deasemenea indexare, apel de functie si altele) in calculul unei expresii. Dacă ați citit capitolul anterior din acest tutorial, ați văzut deja câțiva operatori, de exemplu atribuirea(un singur semn egal =) folosita când ati învățat despre variabile, si alti cativa.

So far, we haven't really talked about these operators, because they have been mostly self-explanatory. However, that is not the case for all operators in C# (and believe me, there are a lot), and even for those who makes sense when seeing it, it's nice to get a proper name for it and perhaps even learn a bit more about how it works internally.

In the next several articles, we'll do just that: we will look into many of the C# operators, both the simple and the not-so-simple, talk about what they do and show you how you can use them. You will find some very valuable information in these articles, which will give you a better understanding of what goes on when your code is interpreted, but it will also be a bit more theoretical than what you have previously read. If it turns out to be too much for you right now, then feel free to skip some of it and return later.


This article has been fully translated into the following languages: Is your preferred language not on the list? Click here to help us translate this article into your language!