Events - External events
Events An event is a member that enables an object or class to provide notifications. Clients can attach executable code for events by supplying event handlers. Events are declared using event-declarations: event-declaration: attributesopCiteste tot ... 1481 cuvinte
Dimensiune mica - fara poza |
|
|
Versioning
Versioning Versioning is the process of evolving a component over time in a compatible manner. A new version of a component is source compatible with a previous version if code that depends on the previous version can, when recompiled, work witCiteste tot ... 609 cuvinte
Dimensiune mica - fara poza |
|
|
Fields
Fields A field is a member that represents a variable associated with an object or class. A field-declaration introduces one or more fields of a given type. field-declaration: attributesopt field-modifiersopt type variable-declaratorCiteste tot ... 1415 cuvinte
Dimensiune mica - fara poza |
|
|
Attributes
Attributes C# is an imperative language, but like all imperative languages it does have some declarative elements. For example, the accessibility of a method in a class is specified by decorating it public, protected, internal, protected internCiteste tot ... 224 cuvinte
Dimensiune mica - fara poza |
|
|
Arithmetic operators - Multiplication, Division, Addition
Arithmetic operators The *, /, %, +, and – operators are called the arithmetic operators. multiplicative-expression: unary-expression multiplicative-expression * unary-expression multiplicative-expression / unary-expression multipCiteste tot ... 3673 cuvinte
Dimensiune medie - fara imagini |
|
|
Getting started
Getting started The canonical “hello, world” program can be written as follows: using System; class Hello } The source code for a C# program is typically stored in one or more text files with a file extension of .cs, as in hello.cs.Citeste tot ... 351 cuvinte
Dimensiune mica - fara poza |
|
|
The using statement
The using statement The using statement obtains one or more resources, executes a statement, and then disposes of the resource. using-statement: using ( resource-acquisition ) embedded-statement resource-acquisition: local-varCiteste tot ... 251 cuvinte
Dimensiune mica - fara poza |
|
|
Arrays - Array types, Array creation
Arrays An array is a data structure that contains a number of variables which are accessed through computed indices. The variables contained in an array, also called the elements of the array, are all of the same type, and this type is calledCiteste tot ... 1302 cuvinte
Dimensiune mica - fara poza |
|
|
Alte pagini