- C# 7 and .NET Core Cookbook
- Dirk Strauss
- 74字
- 2021-07-03 00:12:01
How it works...
We can see that inheritance allows us to easily extend our classes by reusing functionality that already exists within another class created earlier. You also need to be aware though that any changes to the SpaceShip class will be inherited, all the way up to the top-most derived class.
Inheritance is a very powerful feature of C# that allows developers to write less code, and reuse working and tested methods.
推薦閱讀
- 羅克韋爾ControlLogix系統應用技術
- Python Tools for Visual Studio
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- MongoDB權威指南(第3版)
- Apache Mahout Clustering Designs
- Visual Basic程序設計
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- 零基礎學C語言第2版
- R語言數據可視化:科技圖表繪制
- Mastering PowerCLI
- Mapping with ArcGIS Pro
- Visual FoxPro程序設計習題及實驗指導
- Java核心技術速學版(第3版)
- Lync Server Cookbook
- Spring MVC Blueprints