Although a recent interview with a company, there are two choices, but the study can not be left behind. In fact, I also believe in their own. That is a little bit of satisfaction, but also know that they are really far away, the expected salary distance my goal is still a big cut, although the general undergraduate graduate salary is not very high. But I still want my life to be a little better. Maybe it's a little too material. Well, it's time to talk about your study. 1
1: The reason for the encapsulation is to reduce the redundancy of the code the first time you hear this is to tell the method to encapsulate, and then call directly. The ability to implement a whole bunch of responsible code is called by encapsulating it as an interface or class.
1: The first reason for inheritance is also to reduce redundant code
2: The second reason is to associate a class with a class and then lay the groundwork for polymorphism
- Characteristics
Single-Sex
Transitivity
Richter conversion principle: 1: Subclass can be assigned to parent class
2: If the parent object is loaded with a subclass object, you can convert the parent class to the corresponding child class object
---> Keywords
1:is return BOOL Type
2:as returns the object if the conversion succeeds, otherwise null
---> Virtual methods
Virtual override (Override)
---> Abstract classes
Abstract override (Override)
---> Interfaces
Interface
. NET Basics Review