C#과 .NET 플랫폼 - 정식버전판

Similar documents
초보자를 위한 C# 21일 완성

초보자를 위한 한글 Visual Basic .NET 21일 완성

Java 프로그래머를 위한 C# 비교 활용

초보자를 위한 ASP.NET 21일 완성

초보자를 위한 C++

초보자를 위한 자바 2 21일 완성 - 최신개정판

Microsoft PowerPoint - hci2-lecture1.ppt [호환 모드]

(Microsoft PowerPoint - hci2-lecture1.ppt [\310\243\310\257 \270\360\265\345])

1

초보자를 위한 ASP.NET 2.0

초보자를 위한 C++

Interstage5 SOAP서비스 설정 가이드

초보자를 위한 ADO 21일 완성

thesis

C# Programming Guide - Types

PCServerMgmt7

02 C h a p t e r Java

Chap7.PDF

PowerPoint 프레젠테이션

Dialog Box 실행파일을 Web에 포함시키는 방법

임베디드 시스템 소프트웨어

Windows Embedded Compact 2013 [그림 1]은 Windows CE 로 알려진 Microsoft의 Windows Embedded Compact OS의 history를 보여주고 있다. [표 1] 은 각 Windows CE 버전들의 주요 특징들을 담고

PowerPoint 프레젠테이션

1

강의10

3ÆÄÆ®-14

<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D D382E687770>

thesis

(Microsoft PowerPoint - Ch03_1.ppt [\310\243\310\257 \270\360\265\345])

No Slide Title

Intro to Servlet, EJB, JSP, WS

Deok9_Exploit Technique

프로그램을 학교 등지에서 조금이라도 배운 사람들을 위한 프로그래밍 노트 입니다. 저 역시 그 사람들 중 하나 입니다. 중고등학교 시절 학교 도서관, 새로 생긴 시립 도서관 등을 다니며 책을 보 고 정리하며 어느정도 독학으르 공부하긴 했지만, 자주 안하다 보면 금방 잊어

07 자바의 다양한 클래스.key

01-OOPConcepts(2).PDF

UML

기술 이력서 2.0

3ÆÄÆ®-11

Portal_9iAS.ppt [읽기 전용]

chapter1,2.doc

MasoJava4_Dongbin.PDF


untitled


Microsoft SQL Server 2005 포켓 컨설턴트 관리자용

Windows 시스템 프로그래밍 제3판

chap10.PDF

Mobile Service > IAP > Android SDK [ ] IAP SDK TOAST SDK. IAP SDK. Android Studio IDE Android SDK Version (API Level 10). Name Reference V

JavaGeneralProgramming.PDF

untitled

Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras

example code are examined in this stage The low pressure pressurizer reactor trip module of the Plant Protection System was programmed as subject for

VS_chapter10

final_thesis

No Slide Title

PowerPoint 프레젠테이션

Service-Oriented Architecture Copyright Tmax Soft 2005

IDA 5.x Manual hwp

PowerPoint 프레젠테이션

DocsPin_Korean.pages

11 템플릿적용 - Java Program Performance Tuning (김명호기술이사)


자바 프로그래밍

untitled

Special Theme _ 모바일웹과 스마트폰 본 고에서는 모바일웹에서의 단말 API인 W3C DAP (Device API and Policy) 의 표준 개발 현황에 대해서 살펴보고 관 련하여 개발 중인 사례를 통하여 이해를 돕고자 한다. 2. 웹 애플리케이션과 네이

Eclipse 와 Firefox 를이용한 Javascript 개발 발표자 : 문경대 11 년 10 월 26 일수요일

OOP 소개

歯PLSQL10.PDF

PowerPoint

untitled


1217 WebTrafMon II

교육2 ? 그림

ESP1ºÎ-04

untitled

초보자를 위한 크리스탈 리포트 9 - 대화형 리포트의 작성과 디자인

소프트웨어 개발의 성공 열쇠 - 오브젝트 디자인

Voice Portal using Oracle 9i AS Wireless

Domino Designer Portal Development tools Rational Application Developer WebSphere Portlet Factory Workplace Designer Workplace Forms Designer

untitled

Deok9_PE Structure

Mstage.PDF

J2EE & Web Services iSeminar

2Q SWG Teleweb Business Plan & 1Q Recovery Plan April 2, 2003

untitled

untitled

untitled

I T C o t e n s P r o v i d e r h t t p : / / w w w. h a n b i t b o o k. c o. k r

Microsoft PowerPoint - PL_03-04.pptx

PRO1_01E [읽기 전용]

MAX+plus II Getting Started - 무작정따라하기

Orcad Capture 9.x

USER GUIDE

IBM Rational 2006 IBM Corporation

6주차.key

Microsoft PowerPoint - Smart CRM v4.0_TM 소개_ pptx

PowerPoint 프레젠테이션

KYO_SCCD.PDF

IPAK 윤리강령 나는 _ 한국IT전문가협회 회원으로서 긍지와 보람을 느끼며 정보시스템 활용하 자. 나는 _동료, 단체 및 국가 나아가 인류사회에 대하여 철저한 책임 의식을 가진 다. 나는 _ 활용자에 대하여 그 편익을 증진시키는데 최선을 다한다. 나는 _ 동료에 대해

MPLAB C18 C

Transcription:

,.NET C#.,.,.NET, ( ).,.NET..NET (distributed) (Mobile)., COM.,.NET (class factory), IUnknown.,., COM,.NET!.NET Win32,,. C#(see- sharp ). C#. C# (j ava ) C+ +, Visual Basic 6.0.., C#,., C#, C#.

C#.NET.NET.,.NET,., C#.NET., C#.NET..NET,.,.NET,..NET C#..NET.. 1 :.NET 1.,?.,.NET, (CLR : Common Language Runtime), (CTS : Common Type System), (CLS : Common Language Specification),.,.NET, C#, (Visual Studio.NET ) C# (csc.exe). 2 : C# 2 C#. 2 C# (intrinsic data type)., 2.! System.Object, (reference)/ (value), /,.NET. 22

3 : C# 3, (Encapsulation), (Polymorphism), (Inheritance). (classical) (ad hoc), is- a has- a., C#.,, readonly., (exceptions) ( (SEH, Structured Exception Handling) ).,.NET (garbage collections) System.GC. 4 : (Int erfaces ) (Collect ions ) J ava COM(Component Obj ect Model), C# (Interface- Based Programming)., C#,.,,..NET (predefined)., System.Collections (clonable) (eunmerable). 5 : C# C# OOP. (indexer), ( ) (cont ainer)., 5.,.NET delegate, event., XML. 123

C#.NET 6 : (Assembly), (Thread) AppDomain, C#., EXE..NET, (shared) (private)., (GAC) XML,. CLR,. 7 : (Reflect ion) - (Attribut e-base). System.Reflection,., System.Reflection.Emit., 7.NET.. 7,. 8 : ( (Windows Forms) ).NET.NET,. System.Windows.Forms. Form,,,. Windows 2000. 9 : (Paint ing Framework) (GDI+ ) 8 Form,,,. ( ) (hit testing), ( ) 24

. XML.NET. 10 :,.NET GUI. TextBox, Button, ListBox (validation), DataGrid, Calendar., Form. 11 : (Input, Out put, and Object Serializat ion).net IO.,., (object serialization)..net XML.,. 12 : (Unmanaged code), COM., COM.NET., COM (CCW : COM Callable Wrapper) (RCW : Runtime Callable Wrapper), COM.NET., SAFE -ARRAY,, COM IDL C#., COM+.NET. 13 : ADO.NET, ADO.NET ADO., ADO.NET (disconnected)., DataSet, DataTable 125

C#.NET. MS Access SQL (Dat abase Management System) OleDb Sql.,,,. 14 : ASP.NET., (HTML ), (J avascript ), ASP (response) (request ).,, ASP.NET. (Web Control), (Event handling), Page (Response, Request ). 15 :., 1000.., 15.NET. HTTP., (request) (WSDL, SOAP, (discovery services) ). C#, (View) SOAP (proxy). Apress http :/ / www.apress.com,.,. 26

Visual Studio.NET.,,., VS.NET..NET,.NET Beta 1 ADO.NET.NET Beta 2,.NET Final Release. VS.NET., Apress.NET Beta 2, Final Release. Visual Studio.NET. C#, C# (.NET SDK ) Notepad.exe.NET. C#.NET,. (J ava, C+ +, Visual Basic ). (, ). 1000,,.NET,.,.NET SDK, (White Papers), (tutorial) 2! 3!. 127

C#.NET 15, C#.NET.,..,.,..NET Minnes ota Minne apolis Andrew Troe ls e n 28

.. Apress Gary Cornell (Tech Ed, ). Grace Wong,., Stephanie Rodriguez,.., Nancy Guenther,.. Doris Wong, Anne Friedman, Nancy Rapoport, Beverly McGuire,,., Anne.. Eric Gunnerson ( C# ),., J oe Nalewabau, Nick Hodapp, Dennis Angeline,. Intertech, Inc. Steve Close, Gina McGhee, Andrew Gunner Sondgeroth. Tom Salonek 5..

CD CD 6. Visual Studio.NET 60 5, 1. Visual Studio.NET 60,.,,, CD. CD.. Vis ual St udio.net 60 Visual Studio.NET 60. II (450MHz), 500MB, 3GB, 128Mb (RAM) NT, 2000, XP ( 95/ 98/ Me ) Caution CD,.,. CD ( ).

1.NET,,., (C+ +, Vis ua l Bas ic, J ava) (MFC, ATL, STL), (COM, CORBA),.. ( )..NET.. (As s e m bly), IL(Inte rm ed iate La ng ua ge), J IT (J ust In Time ).NET., CLR(Co m mo n La ng ua ge Ru nt im e), CTS (Co m mo n Ty pe Syste m ), CLS (Co m m o n La ng uag e S pec if icat io n).net.

C#.NET,.NET, (ILDasm.exe ).,. Visual Studio.NET (IDE : Integrate Development Environment ), (csc.exe) C#..NET,.NET? ( ). C#.NET. Win32/ C, API(Application Programming Interface) C., API., C. C,,., C (Structured Language),. Win32 API ( ),. C+ +/ MFC C C+ +. C+ + C. C+ + 48

.NET (pillars of OOP) (Encapsulation), (Polymorphism), (Inheritance), C (,,, )., C+ +., MF C (Microsoft Foundation Classes), C+ +. MFC Win32 API (Sane Subset) (Macro), GUI (, AppWizard, ClassWizard ). MFC ( ), C+ +., C. Vis ual Bas ic!!, C+ + Visual Basic 6.0 (VB),. VB, COM. MFC VB Win32 API CASE, VB. VB, (Object Aware)., VB 6.0 is-a ( ), (Parameterized), (Multithread). J AVA J ava. J ava C+ +., J ava 149

C#.NET. J ava ( ) C+ +., J ava ( ) (Package)., J ava 100% J ava.,, ( ). J ava,. J ava J ava., J ava ( ), (language independence).,. J ava,. J ava., J ava. J ava., (3D ) J ava.. J ava., C+ + ( C+ +. C+ + C C. )., J ava API, J ava (Cross Language). COM J ava, COM(Component Object Model)., COM. 50

.NET COM (Reusable Binary Code). COM (Language Independent Manner). C+ + VB (Coclass), Delphi C., COM. COM COM. COM has- a COM. COM, (location-transparent nature). COM AppIDs(Application IDentifiers), (Stub), (proxy), COM,, RPC,. Visual Basic 6.0. ' VB 6. 0 COM, ' ( ) ' COM. ' Di m c as New MyCOMCl ass 'AppI D. c. DoSomeWor k COM, (. C+ +, )., COM COM. ATL(Active Template Library). ATL COM C+ +,. (Visual Basic ) COM. COM. COM Visual Basic,. 15 1

C#.NET DNA,.,.,. DNA(Distributed internet Architecture). DNA (ADO, ASP, XML, J ava - Script, VBScript, COM(+ ) ).. J avascript C, VBScript Visual Basic., COM+ COM ASP.. ( ). J avascript int C int, VB Integer..NET..NET.,.NET. ( ).,.NET...NET. :. 12, COM.NET. : COM,.NET (Cross Language Inheritance), (Cross Language Exception Handling), (Cross Language Debugging). 52

.NET.NET :.,.NET. : API..NET. COM! : IClassFactory, IUnknown, IDL, VARIANT-compliant (BSTR, SAFEARRAY ).NET. COM.NET COM. 1993 COM :.NET.,.NET DLL..NET (CLR, CTS a nd CLS), (CLR : Common Language Runtime), (CTS : Common Type System), (CLS : Common Language Specification).NET.,.NET. CLR(Common Language Runtime). CLR.NET,,. CLR,,..NET CTS(Common Type System). CTS.,.NET 153

C#.NET (metadata) ( )..NET (.NET- aware language) CTS. CLS(Common Language Specification),.,.NET.NET., CLS (CLS-compliant).NET,.NET..NET CLR, CTS, CLS.NET.NET. IO,,., XML,, (, ). [ 1.1].NET. 1.1 CLR 54

.NET C#.NET?. C#. C# J ava. C# C+ + (*.h) (*.cpp), J ava (*.cs). C# J ava. C# J ava C+ +. J ava C+ +. J ava C+ +., C# J ava. C# Visual Basic, C+ + (, J ava ). C# C+ + Visual Basic. C#,,,. J ava, Visual Basic, C+ +., C#.! : C# ( ).! (Enumeration), (Structure),. C+ + ( return * this ).., COM,..NET.,. 155

C#.NET ( COM IDL ). C#, C#.NET ( COM C# )..NET (managed)., (Assembly) (managed) ( )..NET.NET 2000 PDC(Professional Developers Conference).,.NET.NET.,.NET.NET. 30, Visual Studio.NET(C#, Visual Basic.NET, (managed) C+ + (MC+ + ), J Script.NET), Smalltalk, COBOL, Pascal, Python, Perl.NET. [ 1.2]..NET, COM (DLL EXE),., DLL.NET COM (.NET COM ).,.NET IDL,.. COM,.NET (Platform- Specific), (Platform -Agnostic). Microsoft Intermediate Language (MSIL) IL. 56

.NET 1.2.NET IL..NET ( )?.NET DLL EXE (., ). 6,.NET,., IL, (Absolutely necessary) (Platform- Specific) ( J ava ). (Absolutely necessary), IL ( ).NET. IL,., Foo. Foo, Foo,,..NET COM., COM (associate type library) (IDL ). COM?. (coclass) 157

C#.NET,, COM IDL.,.NET,.NET., (manifest).,, ( ). IL,. (Single File) (Mult i file),.net DLL, EXE 1 : 1.,.NET DLL,.,, 6. DLL EXE IL,,.,.NET, (module). ( IL ). IL.,?,,.,,..... 58

.NET., (module). MSIL(Mic rosoft Inte rme diate La ngua ge ),.NET. MSIL. MSIL..NET ( C#, Visual Basic.NET, Eiffel ), IL., C# (10 + 84 )., Add(). / /. namespace Cal cul at or { usi ng Syst em; / / Cal cul at or Add (). / / (ent ry poi nt ) Mai n (). publ i c cl ass Cal c { / / publ i c Cal c () {} publ i c i nt Add (i nt x, i nt y) { r et ur n x + y; } publ i c st at i c i nt Mai n (st r i ng [] ar gs) { / / Cal c,. Cal c c = new Cal c () ; i nt ans = c.add (10, 84) ; 159

C#.NET Consol e.wr i t eli ne ("10 + 84 i s {0}. ", ans) ; r et ur n 0; } } }, C# (csc.exe), Calc, IL,. Add() IL, 1..met hod publ i c hi debysi g i nst ance i nt 32 Add (i nt 32 x, i nt 32 y) ci l managed { / / Code Si ze 8 (0x8).maxst ack 2. l ocal s [0] i nt 32 cs$00000003$00000000 IL_0000 : l dar g. 1 IL_0001 : l dar g.2 IL_0002 : add IL_0003 : st l oc. 0 IL_0004 : br. s IL_0006 IL_0006 : l dl oc. 0 IL_0007 : r et } / / end of met hod Cal c : :Add IL. IL 7., C# IL (IL ).,.NET., C# Visual Basic.NET Calc. 60

.NET ' VB.NET Modul e Modul e1 'Cal c Add (),. Cl ass Cal c Publ i c Funct i on Add (ByVal x As Int eger, ByVal y As Int eger ) As Int eger '! VB.NET 'ret urn '. Ret ur n x + y End Funct i on End Cl ass Sub Mai n () Dim ans As Int eger Dim c As New Cal c () ans = c.add (10, 84) Consol e.wr i t eli ne ("10 + 84 i s {0}. ", ans) End Sub End Modul e Visual Basic.NET Add() IL, (VB.NET )..met hod publ i c i nst ance i nt 32 Add (i nt 32 x, i nt 32 y) ci l managed { / / Code Si ze 10 (0xa).maxst ack 2. l ocal s i ni t ( [0] i nt 32 Add) IL_0000 : nop IL_0001 : nop IL_0002 : l dar g. 1 IL_0003 : l dar g.2 IL_0004 : add. ovf IL_0005 : br. s IL_0008 IL_0007 : l dl oc. 0 IL_0008 : nop IL_0009 : r et } / / end of met hod Cal c : :Add CSharpCalculator VBCalculator 1. 16 1

C#.NET IL?. IL..,.NET. IL. IL( ).,.NET IL. (well defined). IL (platform agnostic). agnostic.,,. IL IL,,...NET.,..NET (platform-independent architecture).. j ava. J ava j ava. j ava..net., j ava.net.,.net,..,.net,.,.net ( ). 62

.NET COM IDL(Interface Definition Language). IDL COM, (meta-language). IDL midl.exe, ( ). COM,., IDL COM,. COM., (1.0, 2.0, 2.4 ) COM (,,, ) IDL., COM., IDL..NET IDL., IDL. IL.NET. IDL.NET (,, ) (,, (Enumeration) ).,.NET (manifest) IDL.,..NET,,.,.NET ( ). C# Add() (, VB.NET ). 163

C#.NET Met hod #2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Met hodname : Add (06000002) Fl ags : [Publ i c] [Hi debysi g] [ReuseSl ot ] (00000086) RVA : 0x00002058 Impl Fl ags : [IL] [Managed] (00000000) Cal l Cnvnt n : [DEFAULT] hasthi s Ret ur ntype : I 4 2 Argument s Ar gument #1 : I 4 Ar gument #2 : I 4 2 Paramet ers (1)Par amtoken : (08000001) Name : x f l ags : [none] (00000000) def aul t : (2)Par amtoken : (08000002) Name : y f l ags : [none] (00000000) def aul t : Add() ( C# )...NET., C#. IL IL, IL. J IT(J ust In Time). J itter J IT IL CPU..NET CLR CPU J IT. J IT,. J itter IL,., Foo Bar (), Bar () IL, 64

.NET,. Bar ()..NET.NET (, )..NET,, (delegate),. C#.NET,., (Custom enumeration type).,.,.net,.?.,?.,.,.,,. GoCart., GoCart?. (, CustomVehicals.GoCart SlowVehicals.GoCart ).,. 165

C#.NET CLR(Common La ngua ge Runtime),,, IL..NET.,. MFC, (linking) MFC (mfc42.dll).. Visual Basic 6.0 (msvbvm60.dll), J ava (J VM : J ava Virtual Machine)..NET..NET,.NET. CLR. CLR., CLR mscoree.dll,, (load)., (,, ),., IL,. (base class libraries).,.,, mscorlib.dll..net..net,,.net (, ). [ 1.3] ( ).NET,.NET. 66

.NET 1.3 mscoree.dll CTS(Common Type Syste m), CTS CLR,,, (formal specification)., CTS (.NET )..NET, CLS. CLS, CTS. 167

C#.NET CTS.NET.,,,.,, CTS (derived class) (polymorphism). CTS (CTS-compliant ) ( ). [ 1.1],. 1.1.NET (sealed)??? (abstract)? (concrete)? (visibility)? (sealed),. (object user). CTS.,...,??(private ). CTS CTS. C,.NET (UDT : User Defined Types) (, C )., ( 2 ). CTS (CTS compliant). (number) (parameterized) ( ).,.. 68

.NET / / C# st ruct Baby { / / publ i c st r i ng name; / / ( ). publ i c Baby (st r i ng name) {t hi s.name = name; } / /. publ i c voi d Cr y () { Consol e.wr i t eli ne ("Waaaaaaaaaaaah!!!") ; } } publ i c bool I ssl eepi ng () {r et ur n f al se; } publ i c bool I schanged () {r et ur n f al se; }. / / Max Barnaby!! Baby bar nababy = new Baby ("Max") ; Consol e.wr i t eli ne ("Changed? : {0}", bar nababy. I schanged ().ToSt r i ng () ) ; Consol e.wr i t eli ne ("Sl eepi ng? : {0}", bar nababy. I ssl eepi ng ().ToSt r i ng () ) ; / / Max. f or (i nt i = 0; i <10000; i ++) bar nababy.cry () ; CTS System.ValueType. (reference-based), (valuebased) ( (heap), (stack) ). CTS,.,.NET (sealed). 169

C#.NET CTS,,. COM,.NET IUnknown (Common based interface).,.,,.,.net, CTS., 4. CTS.,,.!. CTS. public, private, protected., abstract,, static instance (static, instance ). CTS,.,,..,. (Wizard) (Fighter), (Thief),. / / C# enum Pl ayer Type { Wi zar d = 100, Fi ght er = 200, Thi ef = 300 }; CTS System.Enum. /. 70

.NET CTS (delegat e).net (delegate) C., C,.NET (delegate) MulticastDelegate.,. 5,.NET. CTS CTS, CTS., boolean int, float, char.,.net. [ 1.2]. 1.2 CTS.NET Visual Basic.NET C# MANAGED C++(MC++) System.Byte Byte byte char System.SByte sbyte signed char System.Int16 Short short short System.Int32 Integer int int or long System.Int64 Long long int64 System.UInt16 ushort unsigned short System.UInt32 uint unsigned int or unsigned long System.UInt64 ulong unsigned int64 System.Single Single float float System.Double Double double double System.Object Object object Object* 171

C#.NET.NET Visual Basic.NET C# MANAGED C++(MC++) System.Char Char char wchar_t System.String String string String* System.Decimal Decimal decimal Decimal System.Boolean Boolean bool bool, CLS., CTS (.NET ),., ( ),, CTS,?, CLS. CLS(Common La ngua ge Spe c ification)., C# +, Visual Basic &.,.,.. ' voi d VB (VB ) Publ i c Sub Foo () '... End Sub / / voi d C# publ i c voi d Foo () { / /... }.NET, ( csc.exe, vbc.exe) IL.,., 72

.NET.,.NET,. CLS. CLS,.NET, CLR (.NET )., CLS CTS (subset).,.net, CLS. CLS 6,?,?., CLS 1. 1 : CLS., CLS.NET., ( 1 ). 1 (,, ) CLS. CLS,.., CLS., 1., ( ), (static) CLS. ( LISP.NET ). CLS Collected CLS. 173

C#.NET.NET,.. MFC ATL,., MFC C+ +,,. MFC,. Visual Basic J ava, (Intrinsic Classes), (Packages). MFC J ava, Visual Basic, C#., C#., C#.NET.,.NET..NET.NET, C#. Hello World C#, VB.NET, MC+ + (Managed C+ + ), 3. / / Hel l o worl d C# usi ng Syst em; publ i c cl ass MyApp { publ i c st at i c voi d Mai n () { Consol e.wr i t eli ne ("Hi f r om C#") ; } } 'Hel l o worl d VB.NET Impor t s Syst em 74

.NET Publ i c Modul e MyApp Sub Mai n () Consol e.wr i t eli ne ("Hi f r om VB") End Sub End Modul e / / Hel l o worl d MC++ usi ng namespace Syst em; / /!.NET C(++) mai n / /. voi d mai n () { Consol e : :Wr i t eli ne ("Hi f r om MC ") ; }.,,.,.NET..NET!.NET,. System,., C#., (,,, )., System.Drawing. (access), (Threading),. [ 1.3].NET ( ). 175

C#.NET 1.3.NET.NET System System.Collections System.Data System.Data.Common System.Data.OleDb System.Data.SqlClient System.Diagnostics System.Drawing System.Drawing.Drawing2D System.Drawing.Printing System.IO System.Net System.Reflection System.Reflection.Emit System.Runtime.InteropServices System.Runtime.Remoting System.Security System.Threading System.Web System, (Garbage Collection). (container) (ArrayList, Queue, SortedList). ( ).,. (bitmap), (font), (icon), (printing) GDI+. IO. IO, (buffering). (request)/ (response), (socket) (dynamic creation),. (unmanaged) (Win32 DLL, COM ),..NET. (permission), (cryptography)., (threading). (Mutex),, (Timeout). ASP.NET. 76

.NET.NET System.Windows.Forms System.Xml,.NET Win 32,. XML XML,.. System. System.Console, System Console..NET..NET System.Console. C# using...,.. / /. usi ng Syst em; / / usi ng Syst em. Dr awi ng; / / (r ender i ng) usi ng Syst em.wi ndows. Forms ; / / GUI (wi dget ) usi ng Syst em. Dat a; / / usi ng Syst em. Dat a.ol edb; / / OLE DB,., System.Drawing Bitmap,. / /... usi ng Syst em. Dr awi ng; 177

C#.NET cl ass MyCl ass { publ i c voi d DoIt () { / / 20 *20. Bi t map bm = new Bi t map (20, 20) ;... } } System.Drawing, Bitmap., System.Drawing,.. / /! cl ass MyCl ass { publ i c voi d DoIt () { / /. Syst em.dr awi ng.bi t map bm = new Syst em.dr awi ng.bi t map (20, 20) ;... } },.,.. using, IL.,.NET mscorlib.dll. System.Drawing System.Drawing.dll., [ 1.4], <drive>:winnt\ Microsoft.NET\ Framework\ <version>. 78

.NET.NET.. 1.4.NET, (semantically related)., System. Windows.Forms System.Drawing.,,..,.NET,..,.NET,..NET SDK (MSDN) ILDasm.exe 179

C#.NET ClassView WinCV.exe Visual Studio.NET, MSDN (F 1?)..NET SDK IDLasm.exe ClassView, WinCV., Visual Studio.NET. ILDas m.exe ILDasm.exe(Intermediate Language Disassembler Utility) GUI.NET (EXE DLL).,, IL,.,.. mscorlib.dll ([ 1.5] ). ILDasm.exe (path). [ 1.5],.,, (nested classes). [ 1.4]. 80

.NET 1.5 ILDasm.exe. 1.4 ILDasm.exe ILDASM.EXE. (dot).. [NSP] [CLS] [VCL] [INT] [FLD] [STF] [MET].. <outer > $<inner >... (public ). (static) ( ).. [STM] [PTY] (static).. 18 1

C#.NET, ILDasm.exe IL., System.IO.BinaryWriter, [ 1.6] IL. 1.6 IL (dump) ILDasm.exe.,,., *.txt.,. [ 1.7]. 1.7 82

.NET IL, IL.., *.il. Mscorlib.dll. [ 1.8] 7 GetType() IL. 1.8 IL ILDasm.exe.,. CTRL+ M.,.NET IL. CLR. ILDasm.exe CTRL + M,.!., (disassemble). [ 1.9] TestApp.exe. 183

C#.NET 1.9 ILDasm.exe, ILDasm.exe OLE/ COM (Object Viewer). Oleview.exe COM, IDL. ILDasm.exe IL.NET. (ClassViewer) ILDasm.exe, (ClassViewer) (.NET SDK ).NET. SDK http :/ / localhost/ quickstart/ aspplus/ samples/ classbrowser/ vb/ classbrowser.aspx. ([ 1.10] ). 84

.NET 1.10 (ClassViewer) WinCV. WinCV.exe(Windows Class Viewer), C#. GUI,,. [ 1.11] System.Windows.Forms.Tooltip.,.NET. C#. 185

C#.NET 1.11 WinCV.exe C# C#, csc.exe(c Sharp Compiler)..NET SDK,. TestApp.exe., C#., [ 1.12] TestApp.cs. 1.12 TestApp 86

.NET, C#. (, DLL, EXE ). csc.exe ([ 1.5] ). 1.5 C# /doc /out /target:exe /target:library /target:module /target:winexe csc.exe XML. 5. MyAssembly.dll, WordProcessingApp.exe. *.cs ( /out ). DOS EXE.. (manifest), DLL. (manifest) DLL. /target:winexe.,., TestApp.cs,., C#. csc / t arget :exe Test App. cs C#. / target / t. csc / t :exe Test App.cs, csc / t :exe C#. TestApp.cs. csc Test App.cs 187

C#.NET, TestApp.cs., ( csc.exe ) ([ 1.13] ). 1.13 TestApp,.NET. C#., mscorlib.dll..net, TestApp.cs. TestApp. [ 1.14]. C# using System.Windows.Forms. MessageBox, System.Windows.Forms.dll. 1 / reference., / r., (:). csc / r :Syst em.wi ndows.forms.dl l t est app.cs 88

.NET 1.14 TestApp.cs, TestApp. [ 1.15]. 1.15 [ 1.15], TestApp.cs TestApp.exe., *.exe.?, HelloMessage ([ 1.16] ), TestApp [ 1.17]. 189

C#.NET 1.16 HelloMessage *.cs. csc / r :Syst em.wi ndows. Forms.dl l t es t app.cs hel l omsg. cs,.,??. C#, csc.exe *.cs, *.cs., / out. csc / r :Syst em.wi ndows. Forms.dl l / out :TestApp. exe *.cs,?. (:)?., (;). csc / r :Syst em.wi ndows.forms.dl l ;Syst em.drawi ng.dl l t est app. cs hel l omsg.cs C#.. 90

.NET 1.17 TestApp.cs TestApp 1. Visua l Studio.NET IDE C#, Visual Studio.NET., Visual Studio.NET IDE., (ATL, MFC, C#, Visual Basic.NET, FoxPro, C+ + ),. VS.NET, Visual Basic.NET. [ 1.18],., TestApp Visual Studio.NET (VSNETTestApp ). 19 1

C#.NET 1.18 VS.NET C# (Solut ion Explorer) VS.NET., (solution) (project ).,. (Solution Explorer),. Class1.cs ([ 1.19] ). 1.19 92

.NET (Solution Explorer) (object-oriented view) ([ 1.20] ). 1.20 (Class View),, CASE (,, (indexer) ). [ 1.21].,.,, C#,.,. 193

C#.NET 1.2 1 (Propert ies ) IDE, (Properties).., GUI ( ),.,, ([ 1.22] ). 1.22 (Properties). 94

.NET, (Class View) Class1, (Name) ([ 1.23] ).,. 1.23 (Properties). (out line) (Code View). (Code View) +, -.,..., ([ 1.24] ). 1.24. 195

C#.NET -,,, Main(),., ([ 1.25] ). 1.25,. System.Windows.Forms.dll,...., [ 1.26]. 1.26 VS.NET 96

.NET, COM (.NET COM 12 )., System.Windows. Forms.dll,. Vis ual St udio.net IDE (Debugging) Developer Studio, Visual Studio.NET (debugger).,.,., (step into), (step out), (step over)., (Call Stack), (Autos), (Locals), (Breakpoints),.,. 1.27 (BreakPoint) 197

C#.NET VSNETTestApp 1. (Server Explorer) (Server Explorer) Visual Studio.NET. [ 1.28]. (Server Explorer),, ( ).,,. 1.28 (Server Explorer) XML Visual Studio.NET HTML XML. Visual InterDev IDE. 98

.NET XML, GUI XML. [ 1.29] ( XML ADO.NET ). 1.29 XML (Integrated XML Editor) UML Visual Studio.NET Visual Studio 6.0, Visual Modeler. UML(Unified Modeling Language). *.mdx, [ 1.30] UML (ToolBox) [ 1.30],., Visual Studio.NET UML! Visual Studio.NET Rational Rose XDE UML. (Object Browser)., Visual Studio.NET (Object Browser).. [ 1.31]. 199

C#.NET 1.30 UML 1.3 1 (Object Browser) 100

.NET Visual Studio.NET IDE.,,. [ 1.32] Cars ( ADO.NET ). 1.32 (Help),. ALT+ TAB, MSDN. Visual Studio.NET IDE,,. Main (), [ 1.33]. 10 1

C#.NET 1.33, ([ 1.34] ). 1.34! F1. 102

.NET.NET C#.,.NET,.,.NET C#..,,.NET C#..NET (mscoree.dll) (mscorlib.dll ). CLR.NET ( ). IL. IL JIT., CLS(Common Language Specification) CTS(Common Type System)., C# (csc.exe) Visual Studio.NET IDE. 103