Object-oriented programming is a vast field of expertise, and its mastery requires not only study but time spent applying its principles to real-life software development. With all the foundational information you learned in this book, it might seem like a mountain you're just better off not even attempting to climb. However, when you feel that way, take a step back and revisit these concepts:
- Classes are blueprints for objects you want to create in code:
- Classes can contain properties, methods, and events
- Classes use constructors to define how they are instantiated
- Instantiating objects from a class blueprint creates a unique instance of that class
- Classes are reference types, while structs are value types
- Classes can use inheritance to share common behavior and data with subclasses
- Classes use access modifiers to encapsulate their data and behaviors
- Classes can be composed of...