Scrigroup - Documente si articole

     

HomeDocumenteUploadResurseAlte limbi doc
AccessAdobe photoshopAlgoritmiAutocadBaze de dateCC sharp
CalculatoareCorel drawDot netExcelFox proFrontpageHardware
HtmlInternetJavaLinuxMatlabMs dosPascal
PhpPower pointRetele calculatoareSqlTutorialsWebdesignWindows
WordXml


C sharp



+ Font mai mare | - Font mai mic



Members

Members Namespaces and types have members. The members of an entity are generally available through the use of a qualified name that starts with a reference to the entity, followed by a “.” token, followed by the name of the member. Members
Citeste tot ... 528 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Class declarations

Class declarations A class-declaration is a type-declaration (§‎9.5) that declares a new class. class-declaration: attributesopt   class-modifiersopt   class   identifier   class-baseopt   class-body   ;opt A class-declaration co
Citeste tot ... 865 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Class members

Class members The members of a class consist of the members introduced by its class-member-declarations and the members inherited from the direct base class. class-member-declarations: class-member-declaration class-member-declarations   c
Citeste tot ... 1919 cuvinte
Dimensiune medie
- fara imagini
fisier mediu articol fara poze

The try statement

The try statement The try statement provides a mechanism for catching exceptions that occur during execution of a block. The try statement furthermore provides the ability to specify a block of code that is always executed when control leaves
Citeste tot ... 960 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Automatic memory management

Automatic memory management C# employs automatic memory management, which frees developers from manually allocating and freeing the memory occupied by objects. Automatic memory management policies are implemented by a garbage collector. The me
Citeste tot ... 251 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Conditional operator

Conditional operator The ?: operator is called the conditional operator. It is at times also called the ternary operator. conditional-expression: conditional-or-expression conditional-or-expression   ?   expression   :   expression A con
Citeste tot ... 338 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze




Conditional logical operators

Conditional logical operators The && and || operators are called the conditional logical operators. They are also called the “short-circuiting” logical operators. conditional-and-expression: inclusive-or-expression conditional-and
Citeste tot ... 677 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Reference types: The string type

Reference types A reference type is a class type, an interface type, an array type, or a delegate type. reference-type: class-type interface-type array-type delegate-type class-type: type-name object string interface-type: type
Citeste tot ... 335 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Type declarations

Type declarations A type-declaration is a class-declaration (§‎10.1), a struct-declaration (§‎11), an interface-declaration (§‎13.1), an enum-declaration (§‎14.1), or a delegate-declaration (§‎15.1). type-dec
Citeste tot ... 175 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Iteration statements

Iteration statements Iteration statements repeatedly execute an embedded statement. iteration-statement: while-statement do-statement for-statement foreach-statement The while statement The while statement conditionally executes a
Citeste tot ... 1746 cuvinte
Dimensiune medie
- fara imagini
fisier mediu articol fara poze

Value types: Struct types, Simple, Integral, Floating

Value types A value type is either a struct type or an enumeration type. C# provides a set of predefined struct types called the simple types. The simple types are identified through reserved words, and are further subdivided into numeric typ
Citeste tot ... 2373 cuvinte
Dimensiune medie
- fara imagini
fisier mediu articol fara poze

Scopes - Name hiding

Scopes The scope of a name is the region of program text within which it is possible to refer to the entity declared by the name without qualification of the name. Scopes can be nested, and an inner scope may redeclare the meaning of a name fr
Citeste tot ... 1275 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze


Variable categories

Variable categories C# defines seven categories of variables: static variables, instance variables, array elements, value parameters, reference parameters, output parameters, and local variables. The sections that follow describe each of these
Citeste tot ... 852 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Delegates

Delegates Delegates enable scenarios that some other languages have addressed with function pointers. However, unlike function pointers, delegates are object-oriented, type-safe, and secure. A delegate declaration defines a class that is d
Citeste tot ... 272 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Indexers

Indexers An indexer is a member that enables an object to be indexed in the same way as an array. Indexers are declared using indexer-declarations: indexer-declaration: attributesopt   indexer-modifiersopt   indexer-declarator   indexer
Citeste tot ... 729 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Classes

Classes Class declarations define new reference types. A class can inherit from another class, and can implement interfaces. Class members can include constants, fields, methods, properties, indexers, events, operators, instance constructor
Citeste tot ... 2057 cuvinte
Dimensiune medie
- fara imagini
fisier mediu articol fara poze

Interfaces

Interfaces An interface defines a contract. A class or struct that implements an interface must adhere to its contract. Interfaces can contain methods, properties, indexers, and events as members. The example interface IExample    
Citeste tot ... 222 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Shift operators

Shift operators The << and >> operators are used to perform bit shifting operations. shift-expression: additive-expression shift-expression   <<   additive-expression shift-expression   >>   additive-expression
Citeste tot ... 449 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Lexical analysis

Lexical analysis The input production defines the lexical structure of a C# source file. Each source file in a C# program must conform to this lexical grammar production. input: input-sectionopt input-section: input-section-part input
Citeste tot ... 466 cuvinte
Dimensiune mica
- fara poza
fisier mic articol fara poze

Methods - Method parameters

Methods A method is a member that implements a computation or action that can be performed by an object or class. Methods are declared using method-declarations: method-declaration: method-header   method-body method-header: attributesopt
Citeste tot ... 3670 cuvinte
Dimensiune medie
- fara imagini
fisier mediu articol fara poze


Alte pagini

1 1 2 3 4 5


Politica de confidentialitate | Termeni si conditii de utilizare




Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved