Microsoft Learn C# Polymorphism
Polymorphism is often referred to as the third pillar of object-oriented programming, after encapsulation and inheritance.
This article is part of Extended SAFe Guidance and represents official SAFe content that cannot be accessed directly from the Big Picture.
简单的说,虚方法就是可以被子类重写的方法,如果子类重写了虚方法,那么运行时将使用重写后的逻辑,如果没有重写,则使用父类中虚方法的逻辑。 定义关键字:virtual 重写关键字:override
理解事务的4种隔离级别: Read uncommitted(读未提交), Read committed(读提交), Repeatable read(可重复读取), Serializable(可序化).
创建型
1. Factory Method(工厂方法) 2. Abstract Factory(抽象工厂) 3. Builder(建造者) 4. Prototype(原型) 5. Singleton(单例)
结构型
6. Adapter Class/Object(适配器) 7. Bridge(桥接) 8. Composite(组合) 9. Decorator(装饰) 10. Facade(外观) 11. Flyweight(享元) 12. Proxy(代理)
行为型
13. Interpreter(解释器) 14. Template Method(模板方法) 15. Chain of Responsibility(责任链) 16. Command(命令) 17. Iterator(迭代器) 18. Mediator(中介者) 19. Memento(备忘录) 20. Observer(观察者) 21. State(状态) 22. Strategy(策略) 23. Visitor(访问者)
UML图分为用例视图、设计视图、进程视图、实现视图和拓扑视图,又可以静动分为静态视图和动态视图。静态图分为:用例图,类图,对象图,包图,构件图,部署图。动态图分为:状态图,活动图,协作图,序列图。
Visual Studio IISExpress SSL 自证证书 (Self-Signed) – BadTree – 博客园
发表回复