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

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.

主站蜘蛛池模板: 沈丘县| 镶黄旗| 大名县| 克什克腾旗| 松溪县| 兰西县| 凌海市| 长白| 麻江县| 平远县| 新沂市| 德令哈市| 宜川县| 桃江县| 枝江市| 大同县| 镇远县| 雷州市| 湖州市| 洛川县| 霞浦县| 南充市| 巍山| 张家港市| 广安市| 普兰店市| 竹溪县| 宣汉县| 咸阳市| 乡宁县| 洪泽县| 信丰县| 济阳县| 武邑县| 宁海县| 湘潭市| 微山县| 会宁县| 大兴区| 西藏| 凤冈县|