New Teaching Plan for "C # object-oriented programming" is released:
Inheritance, interfaces and polymorphism and delegation and events
This is part 5th and part 6th of my C # Object-Oriented Programming series.
5th lecture on inheritance, interfaces and polymorphism mainly introduces the syntax features related to inheritance and interfaces in C # object-oriented programming language, the difficulty is the difference between method hiding and virtual method calling under the Inheritance condition.
Many textbooks are not clear about the concept of "polymorphism". They are either too abstract or a bunch of syntaxes, which makes it easier for students to intuitively understand polymorphism. To this end, I have designed a "Zoo" example. Through repeated reconstruction of this program, I have demonstrated the specific application scenarios of polymorphism in actual development. Practice has proved that this teaching method is still good.
6th. What is "Commission and event. NET platform exclusive, many beginners do not know how the Commission is going, joint and joint, the "event" built on the "Commission" is even more unclear. Therefore, the main focus of this talk is to clarify the Commission and analyze it based on it. the implementation mechanism of events in the net-based class library allows students to design their own events.
For the text materials in these two lectures, please refer to my article on Object-Oriented Programming in. Net 4.0.
>.
Click the following link to download the teaching plan (for convenience, the published teaching plan is summarized here.
Jin xuliang's "C # object-oriented programming" Teaching Plan _ 1
: CSHARP programming language and DOTNET Object-Oriented Programming Overview
Jin xuliang's "C # object-oriented programming" Teaching Plan _ 2: CSHARP programming language basics
Jin xuliang's "C # object-oriented programming" Teaching Plan _ 3
: GUI Design
Jin xuliang's "C # object-oriented programming" Teaching Plan _ 4
: Class and Object
Jin xuliang's "C # object-oriented programming" Teaching Plan _ 5: inheritance, interface and Polymorphism
Jin xuliang's "C # object-oriented programming" Teaching Plan _ 6: Delegation and events
There are three other lectures available for the next release.