tailieunhanh - Lập trình Windows - Lập Trình C #- Lập Trình C Shap - Chapter_1_Overview

Tài liệu tham khảo dành cho giáo viên, sinh viên, kỹ thuật viên chuyên ngành lập trình mạng - Giúp củng cố và nâng cao kỵ năng lập trình. | Chapter I Framework and C# Overview Content Part 1: NET Framework CLR, FCL, CTS Namespace Managed code Garbage collection .NET framework architecture Part 2: C# overview Features IDE .NET FRAMEWORK PART I .NET Framework .NET (Apr-2003) VS .NET 2003 Default: Server 2003 .NET (Nov-2007) 2008 Default: Windows 7 .NET (Nov-2006) Default: Windows Vista, Server 2008 .NET (Nov-2005) 2005 .NET (Feb-2002) Net What is the .NET framework The .NET Framework is Microsoft’s latest development platform, and is currently in version 4 Key motivations: Means of integrating disparate operating systems (Linux, Mac OS, ) No restriction on the type of applications: .NET Framework enables the creation of Windows applications, Web applications, Web services Can be used from any language, including C#, C++, Visual Basic, JScript, and even older languages such as COBOL 14 Lesson page 18 Begin C# page 45 What’s in the .NET Framework? .NET Framework consists primarily of a gigantic library of code that you use from your client languages (such as C#) using object-oriented programming (OOP) techniques. Framework Class Library (FCL) contains thousands of classes to provide access to Windows API and common functions like String Manipulation, Common Data Structures, IO, Streams, Threads, Security, Network Programming, Windows Programming, Web Programming, Data Access, etc. You can use the classes in FCL in your program just as you would use any other class. You can even apply inheritance and polymorphism to these classes. Common Type System (CTS) Part of the .NET Framework library defines some basic types. A type is a representation of data, and specifying some of the most fundamental of facilitates interoperability between languages using the .NET Framework. This is called the Common Type System (CTS). Example: CTS defines a type, Int32, an integral data type of 32 bits (4 bytes) which is mapped by int of C# and Integer of .