- 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.
推薦閱讀
- Java逍遙游記
- Hands-On JavaScript High Performance
- YARN Essentials
- Learning Python Design Patterns(Second Edition)
- 劍指MySQL:架構(gòu)、調(diào)優(yōu)與運(yùn)維
- Java:High-Performance Apps with Java 9
- Learning Unreal Engine Android Game Development
- Orleans:構(gòu)建高性能分布式Actor服務(wù)
- 零基礎(chǔ)看圖學(xué)ScratchJr:少兒趣味編程(全彩大字版)
- Photoshop智能手機(jī)APP界面設(shè)計(jì)
- 大話代碼架構(gòu):項(xiàng)目實(shí)戰(zhàn)版
- JBoss AS 7 Development
- micro:bit軟件指南
- LibGDX Game Development By Example
- Python自動(dòng)化運(yùn)維:技術(shù)與最佳實(shí)踐