The first part of the C # language 330 pages / 10 = 33 days Chapter 1 C # with .NET Framework, .NET Framework CTS (Common Type System) Public Type CLS (Common Language System) Public Language Specifications FCL (Framework Class Library) Frame Type The library CLR provider execution environment, there is a virtual machine in the CLR, the CLR is responsible for activating the object, the security check, then layout it in memory, execute them, and finally useless memory recycling 2, compiling the process and Microsoft IL Microsoft IL (Microsoft Intermediate Language) Microsoft Intermediate Language JIT (Just In Time) Instant Compile
Third, C # Language 1, C # Structure, Component, Object-Oriented 2, Object-Oriented Core: Support for the definition and processing of classes, implementation of three major pillars: package, inherit, polymorphism 3, C # support interface, one In the case of the service of the service, the C # medium category can only be inherited from one parent class, but multiple interfaces 5 can be implemented, and the struct cannot inherit from the class, and cannot be inherited by the class, but can implement interface 6 , Component nature, event, attribute, component programming is metadata implemented by CLR to save metadata with class code: responsible for description, including its methods and nature, have been safely demanded Other attribute information code: The logic stream having the execution function 7. The assembly of the accessory is the collection of files is the basic unit of the file is the basic unit of the reuse, version coordination, security, and deployment. Objective: Support C pointer and keyword Access memory directly and warn the CLR useless memory recovery, not recycling before the object referenced by the pointer is not released