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

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.

主站蜘蛛池模板: 慈利县| 望奎县| 石嘴山市| 梧州市| 丰城市| 永靖县| 凯里市| 双鸭山市| 驻马店市| 德兴市| 乌海市| 泽库县| 郸城县| 山阴县| 开平市| 吴川市| 广平县| 新龙县| 云安县| 奉化市| 邹平县| 乌鲁木齐县| 博白县| 汉寿县| 姚安县| 盈江县| 天峻县| 绿春县| 陆良县| 闸北区| 西乌| 太谷县| 太保市| 孟津县| 象山县| 封丘县| 江达县| 屯留县| 天台县| 乐陵市| 莱州市|