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

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.

主站蜘蛛池模板: 定结县| 南郑县| 屯昌县| 改则县| 浦江县| 江永县| 阳谷县| 武城县| 修文县| 德安县| 遵义市| 泊头市| 开平市| 绿春县| 乐昌市| 喀喇沁旗| 织金县| 北川| 宜兴市| 南通市| 新宁县| 濉溪县| 仙居县| 嘉荫县| 满洲里市| 黄浦区| 吉首市| 澎湖县| 乐山市| 兴隆县| 周宁县| 墨竹工卡县| 盐亭县| 蒙阴县| 汝阳县| 林芝县| 高州市| 南陵县| 牡丹江市| 海林市| 卓尼县|