官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 建昌县| 彭泽县| 抚宁县| 恩平市| 阳东县| 沁阳市| 娱乐| 剑河县| 岐山县| 台中市| 赣州市| 南木林县| 乡宁县| 红安县| 桂平市| 札达县| 威信县| 阳朔县| 贵定县| 济宁市| 来安县| 嘉荫县| 阳城县| 苗栗县| 河南省| 友谊县| 鲜城| 枣强县| 西安市| 宜阳县| 遂宁市| 益阳市| 崇礼县| 浠水县| 竹北市| 奉贤区| 尼勒克县| 通城县| 潼南县| 休宁县| 万盛区|