.


:




:

































 

 

 

 





-

. , ,

float i n t.

int i;

float f;

i = 10;

f = i; // float- int-.

,

( )

"" . , , int- i, float,

f. , # -

, .

, bool i n t . -

-

. .

-

,

;

(.. ),

.

,

. , i n t "" ,

byte, i n t, byte

, .

,

, . long double, ( double long) -

, . -

decimal f l o a t ( double),

char ( bool). , char bool. -

. -

:

(_) . ,

. , -

. , short long,

.

, -

.

.

,

v i r t u a l

. , -

. , ( ) -

, . ,

,

(

) .

,

v i r t u a l.

override. , , - , . , ,

.

. . , .

, -

.

# . . , - , - . , , -, . . , .

a b s t r a c t. -

, , . -

, -

, . , -

,

v i r t u a l. , -

v i r t u a l abstract .

.

abstract (_); , , abstract, class. , , . , -

new

. , . .

21. : , , , .

#

. . ,

. . operator,

, , .

operator: -

, . ( ) :

// ,

public static _ operator {

_ )

{

//

}

// ,

public static _ operator op{

_1 1,

_2 2)

{

//

}

( " + " " / "), .

_ , -

. ,

1 2.

,

. , -

. , . , , , .

. , "++" "" , . , ++ ++ . "++" . ,

"++" -

. "--".

I ++; // .

:

I ++; // .

, -

: .

,

. , #

, , -

.

, # , -

, .





:


: 2016-07-29; !; : 330 |


:

:

- , , .
==> ...

1538 - | 1348 -


© 2015-2024 lektsii.org - -

: 0.013 .