Summary

In this chapter, you learned about making your own types using OOP. You learned about all the different categories of members that a type can have, including fields to store data and methods to perform actions. You used OOP concepts such as aggregation and encapsulation.

In the next chapter, you will take these concepts further by implementing interfaces and inheriting from existing classes.

Get C# 6 and .NET Core 1.0: Modern Cross-Platform Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.