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

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.

主站蜘蛛池模板: 宿州市| 黎城县| 兴海县| 高安市| 楚雄市| 自贡市| 马山县| 西乌珠穆沁旗| 辽阳县| 锡林浩特市| 拜城县| 玛多县| 沧州市| 石屏县| 株洲市| 星子县| 拜泉县| 虹口区| 桓台县| 青海省| 东明县| 四会市| 庄浪县| 甘肃省| 辰溪县| 灌南县| 台湾省| 通辽市| 尤溪县| 天津市| 共和县| 武城县| 高唐县| 晴隆县| 西林县| 江油市| 眉山市| 林口县| 鹤岗市| 视频| 民乐县|