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

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
主站蜘蛛池模板: 弋阳县| 乾安县| 房山区| 射洪县| 花莲县| 长岭县| 克拉玛依市| 奉新县| 柳河县| 卓资县| 新乐市| 台东市| 进贤县| 西和县| 荆州市| 乌拉特中旗| 宜兴市| 肥城市| 普兰县| 阳朔县| 长治市| 通山县| 保亭| 秭归县| 抚松县| 上饶市| 宁强县| 怀远县| 惠州市| 荥经县| 娱乐| 鄂伦春自治旗| 铜陵市| 长兴县| 荣昌县| 岳阳市| 龙川县| 德昌县| 大同县| 广河县| 邓州市|