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

Summary

This chapter covers classes and objects, the most important building blocks of OOP. These are the two things that we should learn before jumping into any other topics in OOP. It is important to make sure that these concepts are clear in our minds before moving on to other ideas. In this chapter, we learned about what a class is and why it's needed in OOP. We also looked at how to create a class in C# and how to define an object. After that, we looked at the relationship between classes and objects and how to instantiate a class and use it. We also talked about variables and methods in a class. Lastly, we covered the four pillars of OOP. In the next chapter, we will learn more about inheritance and class hierarchy.

主站蜘蛛池模板: 贺兰县| 六盘水市| 清徐县| 遂溪县| 宜春市| 乳山市| 郸城县| 新泰市| 福州市| 五大连池市| 沙雅县| 山西省| 开平市| 万荣县| 克拉玛依市| 皮山县| 栖霞市| 奎屯市| 铜陵市| 于田县| 郸城县| 永善县| 烟台市| 威宁| 巴青县| 三门县| 大姚县| 通化县| 凤城市| 海丰县| 右玉县| 淄博市| 武隆县| 商南县| 通道| 石泉县| 新乐市| 如皋市| 潮州市| 元谋县| 康定县|