- C# 6 and .NET Core 1.0:Modern Cross:Platform Development
- Mark J. Price
- 93字
- 2021-07-09 20:15:47
Chapter 6. Building Your Own Types with Object-Oriented Programming
This chapter is about making your own types using object-oriented programming (OOP). You will learn about all the different categories of members that a type can have, including fields to store data and methods to perform actions. You will use OOP concepts such as aggregation and encapsulation.
This chapter will cover the following topics:
- Talking about OOP
- Building class libraries
- Storing data with fields
- Writing and calling methods
- Controlling access with properties and indexers
- Simplifying methods with operators
- Raising and handling events
推薦閱讀
- Hands-On Data Structures and Algorithms with JavaScript
- GeoServer Beginner's Guide(Second Edition)
- Mastering Predictive Analytics with Python
- Python:Master the Art of Design Patterns
- Learning Hunk
- H5頁面設計:Mugeda版(微課版)
- Web Development with MongoDB and Node(Third Edition)
- Service Mesh實戰(zhàn):基于Linkerd和Kubernetes的微服務實踐
- Java EE企業(yè)級應用開發(fā)教程(Spring+Spring MVC+MyBatis)
- Getting Started with Polymer
- Vue.js光速入門及企業(yè)項目開發(fā)實戰(zhàn)
- Python數(shù)據(jù)科學實踐指南
- Beginning C# 7 Hands-On:The Core Language
- Java與Android移動應用開發(fā):技術、方法與實踐
- Mastering Swift 4(Fourth Edition)