Today I spent some time understanding the core idea of OOP in C#.
What helped me the most was thinking about it in a practical way instead of just memorising definitions.
OOP basically solves one big problem:
It helps us organise our code so it’s easy to understand, change, and reuse.
The four pillars finally made sense to me today:
Encapsulation - keep related data and behaviour together.
Inheritance - avoid repeating the same logic everywhere.
Polymorphism - write flexible code that can behave differently when needed.
Abstraction - hide unnecessary details and show only what’s important.
Nothing too advanced, but understanding why OOP exists made learning C# feel much easier.
Small steps, but progress is progress.
Top comments (0)