C#学习2

C#学习2

Introduction (3m)

About this Course

Classes (1h50m)

Introduction to Classes

Constructors

Object Initializers

Methods

Fields

Access Modifiers

Properties

Indexers

Summary

Association Between Classes (25m)

Class Coupling

Inheritance

Composition

Composition over Inheritance

Summary

Inheritance: Second Pillar of OOP (50m)

Access Modifiers

Constructors and Inheritance

Upcasting and Downcasting

Boxing and Unboxing

Summary

Exercises

Polymorphism: Third Pillar of OOP (35m)

Method Overriding

Abstract Classes and Members

Sealed Classes and Members

Summary

Exercises

Interfaces (1h5m)

What is an Interface?

Interfaces and Testability

Interfaces and Extensibility

Interfaces are NOT for Multiple Inheritance

Interfaces and Polymorphism

Summary

Exercises

Students’ Code Reviews (35m)

StopWatch Exercise

Stack Exercise

WorkflowEngine Exercise

-------------本文结束,感谢您的阅读-------------