Go deep into C #. NET Framework
One of the 1..NET frameworks recommends a code management platform, blog publishing platform git
Previous review:
Learning sites: Git
Github.com
2. Relationship between classes and objects Dept dept=new Dept ();
Parsing: A class is the type of object (big kind) code plane: Dept
An object is an instance of a class (a specific individual) the Code plane: Dept
3..NET Framework two main components: CLR (Common Language Runtime Common Language Runtime) and FCL (Framework class Library)
4. Class Library Concept: A collection of functionally similar classes.
Similar to the main program of QQ support class library, the end of the DLL file (dynamic linked library dynamically linked libraries)
Two kinds of embodiment of class library: exe DLL
Https://c.s-microsoft.com/zh-cn/CMSImages/Hero_Holiday_HomePage_1920x650.jpg
Https://www.baidu.com/img/bd_logo1.png
5. Encapsulation: is to protect some private field security. Embodiment 2: Put the method and the field into a container (class).
6. Automatic attributes
Note: When we do not need to make a logical decision, he is equivalent to the private field + common attributes.
Automatic attribute Bottom generation: Private field + Public property
Summarize:
1:. NET framework includes clr,fcl,ado.net,xml,asp.net.windows and Web service, etc.
2:CLR is the environment for all. NET applications. is all that. NET applications are the basis of programming to use
There are two main components in 3:CLR: Common type System (CTS) and Common Language Specification (CLS)
4:
5: Information about the namespace:
System: This namespace contains all of the other namespaces
System. Collection.generic: Supports generic operations
System.IO: Supports operations on files such as copy, delete, paste
System.Net: Support for programming of network protocols
Ststem.data: Provides access to classes that represent the ADO structure
System.Windows.Froms: for developing Windows applications
System.Drawing: Support for GDI + basic graphics operations
6: Package Benefits:
1: Ensure the security of data
2: Provide a sober external interface
3: The internal implementation of the class can be arbitrarily modified without affecting other classes
S2 in depth. NET and C # programming one: Drill down into C #. NET Framework