- C# 7 and .NET Core 2.0 Blueprints
- Dirk Strauss Jas Rademeyer
- 94字
- 2021-08-27 19:55:25
Abstraction
An abstraction describes what something should do without actually showing you how to do it. According to the Microsoft documentation:
"An abstraction is a type that describes a contract but does not provide a full implementation of the contract."
Included as examples of abstractions are abstract classes and interfaces. Examples of abstractions in the .NET Framework include Stream, IEnumerable<T>, and Object. If the topic of abstraction seems a bit fuzzy now, don't worry. I will go into much more detail in the section on encapsulation and the difference between encapsulation and abstraction.
推薦閱讀
- Go Web編程
- JSP網絡編程(學習筆記)
- 零基礎搭建量化投資系統:以Python為工具
- C語言程序設計案例教程(第2版)
- JIRA 7 Administration Cookbook(Second Edition)
- iOS開發實戰:從零基礎到App Store上架
- 小程序,巧運營:微信小程序運營招式大全
- 深入淺出RxJS
- Hands-On Reinforcement Learning with Python
- HTML 5與CSS 3權威指南(第3版·上冊)
- PHP編程基礎與實踐教程
- Python編程:從入門到實踐(第3版)
- MySQL程序員面試筆試寶典
- C++編程兵書
- OpenCV 3計算機視覺:Python語言實現(原書第2版)