.


:




:

































 

 

 

 


.




55 362880 0

. .

: . , { }, , . , , , .

 

C# . , .

, , . , . .

C# . . , C#

X = ; = + 1;

Console.WriteLine( + " " + ); ,

= ; = + 1; Console.WriteLine( + " " + );

, . , C# .

Console.WriteLine(" " + + + z +

" ");

, . .

, , . C# . , . , . , . ( ) . , .

C#

, , . C# : . , . . . , . 4.0 C# 77 ^ (. 2.1).

2.1. , C#

 

Abstract

 

As

 

Base

 

Bool

 

Break

 

Byte

 

Case

 

Catch

 

Char

 

Checked

 

Class

 

Const

 

Continue

 

Decimal

 

Default

 

Delegate

 

Do

 

Double

 

Else

 

Enum

 

Event

 

Explicit

 

Extern

 

False

 

Finally

 

Fixed

 

Float

 

For

 

Foreach

 

Goto

 

If

 

Implicit

 

In

 

Int

 

Interface

 

Internal

 

Is

 

Lock

 

Long

 

Namespace

 

New

 

Null

 

Object

 

Operator

 

Out

 

Override

 

Params

 

Private

 

Protected

 

Public

 

Readonly

 

Ref

 

Return

 

Sbyte

 

Sealed

 

Short

 

Sizeof

 

Stackalloc

 

Static

 

String

 

Struct

 

Switch

 

This

 

Throw

 

True

 

Try

 

Typeof

 

Uint

 

Ulong

 

Unchecked

 

Unsafe

 

Ushort

 

Using

 

Virtual

 

Volatile

 

Void

 

While

 

, C# 4.0 18 , . , , . , * . , , , . - , . . 2.2.

2.2. C#

 

Add

 

Dynamic

 

From

 

Get

 

Global

 

Group

 

Into

 

J oin

 

Let

 

Orderby

 

Partial

 

Remove

 

Select

 

Set

 

Value

 

Var

 

Where

 

Yield

 

C# , , . . . , . , , , line_count. , , , max_value,

. C# . , myvar MyVar . .

 

Test

 

X

 

2

 

MaxLoad

 

Up

 

Top

 

My var

 

Sample23

 

, . , 12 . , .

, C# @ . , @for . for, @ . , @.

//

Using System;

class IdTest {

static void Main() { int @if; // if

//

for(@if = 0; @if < 10; @if++)

Console. Writ-eLine ("@if " + @if);

}

}

, @if .

@if 0 @if 1 @if 2 @if 3 @if 4 @if 5 @if 6 @if 7 @if 8 @if 9

, @ , . , @ , .

.NET Framework

, , : WriteLine () Write (). , Console, System, .NET Framework. , C# , .NET Framework, -, , . , , C# C# .NET. , , #. #, , . .NET Framework I , II .





:


: 2016-12-03; !; : 734 |


:

:

, .
==> ...

1408 - | 1168 -


© 2015-2024 lektsii.org - -

: 0.034 .