Вы находитесь на странице: 1из 31

,

. .


( )
(, )

-- 2010 .

-


, :
080801.65 ( ).
- ,

, ,
, ,
.
-
( 1 31.08.2010 )
- ,
( 1 10.09.2010).

: ... .. ()
: .-.., . ..
..., . ..


C.
1

...............................................................................5
1.1 ..........................................................................5
1.2 .............................................5
1.3 ........................................................................................6
1.4 ...............................................................................8
1.5 ................................................8
1.6 - .......................................9
1.7 - .............................................9

........................................................................................................10
2.1 .NET..................................................................10
2.2 C++ C#..............................................................10
2.3 C#........................................................................10
2.4 ....................................................................................................10
2.5 ..........................................................................................................11
2.6 .......................................................................................11
2.7 ....................................................................................................11

......................................................................12
3.1 1............................................................................................12
3.2 2............................................................................................12
3.3 3............................................................................................12
3.4 4............................................................................................12
3.5 5............................................................................................12
3.6 6............................................................................................12
3.7 7............................................................................................13
3.8 8............................................................................................13

4
5
6

..........................13
( )........................................13
( ).......................................13
3

6.1 .......................................................................................................13
6.2 ...........................................................................14
6.3 ......................................................14
7

( )..............................14
7.1 ..................................................................................14
7.2 ...............................................................................14
7.3 .......................................................................16
7.4 ....................................................................20

....................................................................................................21
8.1 ...........................................21
8.2 :.......................................................................................21

.............................21

1
1.1

()

C#.

.

,
, :

, , );

(,

;
(
, , ).
1.2

:
:
-
:

(,

, );
;
.
: C#.
: C#,
FrameWork.

IT-:
(2
)
1.3

1.4

1.5


.
1. .
2.

3.

4.

()

1.6

/
1.

.. #. .
. . 2003.
.. #. .
. . 2010.
.., .. C#. -
. . . 2006.
.., .., ..
. 2 . .: . ., 2007.

2.
3.
4.

/
1.

. C# .NET: . . : ,
2004
. C#.: . . .: , 2005

2.

1.7

1.1.
1.1

1.

MS Visual Studio 2005

2.

MSDN

3.

2
2.1

.NET


1.
2.
3.
4.

MS Visual Studio
.NET

C#
2.2

C++ C#


1. : , ,

2. C++ C#,
3. C#
4. ,
2.3

C#


1. -
2. - Math
2.4


1.
2.
3.
4.





2.5


1.
2.
3.
4.

C#.

,

10

5.
6. , ,
7. Object
2.6


1.
2.
3.
4.

System.Array


2.7


1.
2.
3.
4.


System.Collection

,

11

3
3.1

1.

C#, ,
, .
.
1.

2.

3.

4.

12

5.

6.

7.

8.

9.

10.

13

3.2

2.

"

"

,
. 1.
3.3

3.

C# . .
.
1.
, n ,
:
1) ;
2) ,

.
.
2.
, ,
:
1) ;
2) ,

.
.
3.
, ,
:
1) ;
2) ,

.
14

, ,
. .
4.
, ,
:
1) ;
2) ,
.
,
, , .
5.
, , :
1) ;
2) ,
.
,
, ,
, .
6.
, ,
:
1) ;
2) ,
.
,
, 1, .
7.
, N ,
:
1) ;
2) ,
. .
, , ,
.
8.
, , :
1) ;

15

2) ,
, .
,
, ,
, .
9.
, ,
:
1) ;
2) ,
.
, ,
. .
10.
, ,
:
1) ;
2) ,

.
,
, [ ,],
.
3.4

4.

C# . .
.
1.
. :
1) , ;
2) ,
.
2.
.
, .

16


. ,
.
3.
. :
1) , ;
2) ,
.
4.
. :
1) ,
;
2) ,
.
5.
. :
1) ,
;
2) ,
.
6.
. :
1) ,
;
2) .
. ,
i- j- .
7.
8 8 k, k-
k- .
,
.
8.

.
, .
,
.
17

9.
( i, j) l< k< i+ l, j- l^ l<
j+ l, ( k, 1) ^- ( i, j).
,


10 10.
,
.
10.
,
.
10 10.
, .
3.5

6.

,
C# .
1.

.
, .
2.

, ,
.
.
, , ,
,
.
3.
18

.
,
.
4.
.
,
.
5.
.
, (>=3)

.
6.
.
,
( )
.
7.
.
,
, ,
.
8.
N ,
. N
,
.
9.

, ,
.

19

3.6

7.

6, .
3.7

8.

, 6-7,
.

4
. 1.4

5 ( )


. Error: Reference source not found-Error: Reference source not
found.

6 ( )
6.1

.

. MS Visual Studio.
:
;

;
C#

20

6.2


1) ;
2) MS Visual Studio 2005;
3)
.
6.3


, 4 . .

7 ( ).
7.1

,
7.2


080801.65
.P.07

.
..
3

,

()
C#

21

,
7.2


,
, :

-

:
(,

, , );

;

( ,
, ).
1. .NET
2. C++ C#
3. C#

4.
5.
6.
7.
2

, 3- 3

, 2- 2

3- 6
4- 6

ECTS
3- 5

3-
1. .. #.
. . . 2003.
2. .. #.
. . . 2010.
3. .., .. C#.

.
. . 2006.
4. .., .., ..
. 2 . .:
. ., 2007.

22

,
7.2

1. . C# .NET: .
. : , 2004
2. . C#.: . . .:
, 2005
1. http://msdn.microsoft.com/ru-ru/
2. http://www.rsdn.ru/
1. MS Visual Studio 2005
2. MSDN
3.

,
7.3

/
/

8
(4 )

9
(4 )


080801.65
..03
.
..
3
2- 8
3- 24
4- 24
2
: .NET
: C++ C#
(): .
(): ,

,

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

,

.
23

,
7.3
10
(2 )
11
(8 )

12
(8 )

13
(4 )

1.
2 (60 )
3
: (2 )
: (2 )
(): .
(): ,
.
: 1.
(4 )
():
.Net
(2 )
,
(2 ).
():

: (2 )
(): .
(): ,
.
: 2.
(4 )
():
.Net
(2 )
,
(2 ).
():

: 3.

():
.Net
(2 )
,
(2 ).
():

24

,
7.3
14
(4 )

15
(2 )

16
(4 )

17
(6 )

: 4.

():
.Net
(2 )
,
(2 ).
():


1.
3 (40 )
2.
1-4
4
: 5.
():
.Net
(2 )
,
(2 ).
():

: 4.
C#
():
C#
(2 )
,
(4 ).
():

25

,
7.3
18
(4 )

19
(6 )

20
(2 )
:

: 5.

():
C#
(2 )
,
(2 ).
():

6.

():

.Net

(2 )
,
(4 ).
():

1.
5-8

26

,
7.4

5-


.
..
3

1

-
18

;
1

1;

2
10-
2
;
12

3
15-
3
;
12

3
20-
4
;
18

4;

60
. .

30

20

20

30

100

27

8
8.1

,
, , , ,
.

8.2

1.

2.
-

3.
Point
.. :
28


public int X
private int X
private int X
protected int X
public char X
private char X
protected char X
4.
Point Point(). Point:

5.
: class employee { /* ... */ }
class manager : employee { /* ... */ }

6.
:

7.
:

29

8.
:


-
9.
: public interface IMove { void Stop(); bool Moving { get
{ return true; } }

public

Stop
set
Stop void
10.
: public class Car { private string m; public string M { get
{return m;} set {m=v;} } }

return m;
string M
string m;
m=v;
11.
B
k:

public B(int k, int m): base(int k)


public B(int k, int m): base(k)
public B(int k, int m): base(k, m)
public B(int k, int m): base(int k, int m)

30

,
, ...

new
create
attach
12.
,

...


13.

bool
byte
string
char
double
14.

short
uint
decimal
float
sbyte
( ).

.
. .

9 .

e-mail: romanenko@iubip.ru

31

Оценить