Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
CSharp_VN

CSharp_VN

Ratings: (0)|Views: 42|Likes:
Published by api-3738603

More info:

Published by: api-3738603 on Oct 17, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/09/2014

pdf

text

original

NG\u00d4N NG\u1eee
L\u1eacP TR\u00ccNH C#
Ng\u00f4n\ue000Ng\u1eef\ue000L\u1eadp\ue000Tr\u00ecnh\ue000C#
M\u1ee5c L\u1ee5c
1. Microsoft .NET...............................................................................................10
T\u00ecnh h\u00ecnh tr\u01b0\u1edbc khi MS.NET ra \u0111\u1eddi........................................................ 10
Ngu\u1ed3n g\u1ed1c c\u1ee7a .NET................................................................................12
Microsoft .NET........................................................................................ 12

T\u1ed5ng quan................................................................................................ 12 Ki\u1ebfn tr\u00fac .NET Framework..................................................................... 13 Common Language Runtime................................................................... 15 Th\u01b0 vi\u1ec7n .NET Framework...................................................................... 16 Ph\u00e1t tri\u1ec3n \u1ee9ng d\u1ee5ng client........................................................................ 16

Bi\u00ean d\u1ecbch v\u00e0 MSIL................................................................................... 17
Ng\u00f4n ng\u1eef C#............................................................................................ 18
2. Ng\u00f4n ng\u1eef C#....................................................................................................20
T\u1ea1i sao ph\u1ea3i s\u1eed d\u1ee5ng ng\u00f4n ng\u1eef C#...........................................................20

C# l\u00e0 ng\u00f4n ng\u1eef \u0111\u01a1n gi\u1ea3n.......................................................................... 20 C# l\u00e0 ng\u00f4n ng\u1eef hi\u1ec7n \u0111\u1ea1i........................................................................... 21 C# l\u00e0 ng\u00f4n ng\u1eef h\u01b0\u1edbng \u0111\u1ed1i t\u01b0\u1ee3ng............................................................. 21 C# l\u00e0 ng\u00f4n ng\u1eef m\u1ea1nh m\u1ebd......................................................................... 22 C# l\u00e0 ng\u00f4n ng\u1eef \u00edt t\u1eeb kh\u00f3a.........................................................................22 C# l\u00e0 ng\u00f4n ng\u1eef module h\u00f3a..................................................................... 22 C# s\u1ebd l\u00e0 ng\u00f4n ng\u1eef ph\u1ed5 bi\u1ebfn......................................................................22

Ng\u00f4n ng\u1eef C# v\u1edbi ng\u00f4n ng\u1eef kh\u00e1c............................................................. 23 C\u00e1c b\u01b0\u1edbc chu\u1ea9n b\u1ecb cho ch\u01b0\u01a1ng tr\u00ecnh....................................................... 24 Ch\u01b0\u01a1ng tr\u00ecnh C# \u0111\u01a1n gi\u1ea3n....................................................................... 25 Ph\u00e1t tri\u1ec3n ch\u01b0\u01a1ng tr\u00ecnh minh h\u1ecda.............................................................31 C\u00e2u h\u1ecfi & b\u00e0i t\u1eadp..................................................................................... 35

3. N\u1ec1n t\u1ea3ng ng\u00f4n ng\u1eef C#..................................................................................39
Ki\u1ec3u d\u1eef li\u1ec7u..............................................................................................40

Ki\u1ec3u d\u1eef li\u1ec7u x\u00e2y d\u1ef1ng s\u1eb5n....................................................................... 41 Ch\u1ecdn ki\u1ec3u d\u1eef li\u1ec7u.....................................................................................42 Chuy\u1ec3n \u0111\u1ed5i ki\u1ec3u d\u1eef li\u1ec7u........................................................................... 43

Bi\u1ebfn v\u00e0 h\u1eb1ng............................................................................................ 44

G\u00e1n gi\u00e1 tr\u1ecb x\u00e1c \u0111\u1ecbnh cho bi\u1ebfn................................................................... 45 H\u1eb1ng......................................................................................................... 46 Ki\u1ec3u li\u1ec7t k\u00ea............................................................................................... 47

2
Ng\u00f4n\ue000Ng\u1eef\ue000L\u1eadp\ue000Tr\u00ecnh\ue000C#
Ki\u1ec3u chu\u1ed7i k\u00fd t\u1ef1.......................................................................................50
\u0110\u1ecbnh danh.................................................................................................50

Bi\u1ec3u th\u1ee9c.................................................................................................. 50 Kho\u1ea3ng tr\u1eafng............................................................................................51 C\u00e2u l\u1ec7nh................................................................................................... 51

Ph\u00e2n nh\u00e1nh kh\u00f4ng c\u00f3 \u0111i\u1ec1u ki\u1ec7n............................................................... 52 Ph\u00e2n nh\u00e1nh c\u00f3 \u0111i\u1ec1u ki\u1ec7n.......................................................................... 53 C\u00e2u l\u1ec7nh l\u1eb7p............................................................................................. 60

To\u00e1n t\u1eed..................................................................................................... 68 Namespace............................................................................................... 76 C\u00e1c ch\u1ec9 d\u1eabn bi\u00ean d\u1ecbch............................................................................... 80 C\u00e2u h\u1ecfi & b\u00e0i t\u1eadp..................................................................................... 82

4. X\u00e2y d\u1ef1ng l\u1edbp - \u0110\u1ed1i t\u01b0\u1ee3ng............................................................................87
\u0110\u1ecbnh ngh\u0129a l\u1edbp......................................................................................... 88
Thu\u1ed9c t\u00ednh truy c\u1eadp.................................................................................. 91
Tham s\u1ed1 c\u1ee7a ph\u01b0\u01a1ng th\u1ee9c........................................................................ 92
T\u1ea1o \u0111\u1ed1i t\u01b0\u1ee3ng........................................................................................... 93

B\u1ed9 kh\u1edfi d\u1ef1ng............................................................................................93 Kh\u1edfi t\u1ea1o bi\u1ebfn th\u00e0nh vi\u00ean.......................................................................... 96 B\u1ed9 kh\u1edfi d\u1ef1ng sao ch\u00e9p.............................................................................98 T\u1eeb kh\u00f3a this............................................................................................. 99

S\u1eed d\u1ee5ng c\u00e1c th\u00e0nh vi\u00ean static...................................................................100

G\u1ecdi ph\u01b0\u01a1ng th\u1ee9c static.............................................................................101 S\u1eed d\u1ee5ng b\u1ed9 kh\u1edfi d\u1ef1ng static.................................................................... 101 S\u1eed d\u1ee5ng b\u1ed9 kh\u1edfi d\u1ef1ng private..................................................................102 S\u1eed d\u1ee5ng thu\u1ed9c t\u00ednh static..........................................................................102

H\u1ee7y \u0111\u1ed1i t\u01b0\u1ee3ng.......................................................................................... 104 Truy\u1ec1n tham s\u1ed1.........................................................................................107 N\u1ea1p ch\u1ed3ng ph\u01b0\u01a1ng th\u1ee9c........................................................................... 112 \u0110\u00f3ng g\u00f3i d\u1eef li\u1ec7u v\u1edbi thu\u1ed9c t\u00ednh............................................................... 116 Thu\u1ed9c t\u00ednh ch\u1ec9 \u0111\u1ecdc................................................................................... 119 C\u00e2u h\u1ecfi & b\u00e0i t\u1eadp..................................................................................... 121

5. K\u1ebf th\u1eeba \u2013 \u0110a h\u00ecnh..........................................................................................125
\u0110\u1eb7c bi\u1ec7t h\u00f3a v\u00e0 t\u1ed5ng qu\u00e1t h\u00f3a.................................................................. 126
S\u1ef1 k\u1ebf th\u1eeba................................................................................................ 129

Th\u1ef1c thi k\u1ebf th\u1eeba....................................................................................... 129 G\u1ecdi ph\u01b0\u01a1ng th\u1ee9c kh\u1edfi d\u1ef1ng c\u1ee7a l\u1edbp c\u01a1 s\u1edf...............................................131 G\u1ecdi ph\u01b0\u01a1ng th\u1ee9c c\u1ee7a l\u1edbp c\u01a1 s\u1edf................................................................ 132

3

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->