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

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.

主站蜘蛛池模板: 昆明市| 得荣县| 昭觉县| 民丰县| 通州市| 栖霞市| 尤溪县| 德兴市| 桑植县| 上杭县| 阿拉善右旗| 剑阁县| 南汇区| 鹿泉市| 普格县| 五寨县| 元朗区| 上思县| 阿鲁科尔沁旗| 探索| 新丰县| 伊金霍洛旗| 昌平区| 建阳市| 海晏县| 亳州市| 江安县| 宜昌市| 务川| 洪江市| 藁城市| 胶州市| 延津县| 岳池县| 雷山县| 南开区| 武邑县| 土默特右旗| 塔城市| 芜湖县| 利川市|