Object-Oriented Programming (OOP) and Patterns
Classes, inheritance, interfaces, and design patterns to write reusable and maintainable code in C#.
Object-Oriented Programming and Patterns
C# is an object-oriented language. This section explores concepts such as classes, inheritance, and polymorphism, along with SOLID principles. Commonly used design patterns like Factory, Singleton, and Observer are also covered.
Goal: Increase code reusability and build maintainable systems.
TL;DR
- Class, Property, Method → OOP fundamentals.
- Interfaces and abstract classes.
- SOLID + design patterns.
Class, Object, Property and Methods in C#
Learn how classes, objects, properties, and methods work in C# and form the core building blocks of object-oriented programming.
Structs in C# – Differences from Classes
Learn the key differences between structs and classes in C#, including memory model, inheritance, boxing, and performance.
Constructors, Destructors and this in C#
Learn how constructors, destructors, and the this keyword work in C# to manage object lifecycle and class-level access.
Sealed, Static, and Partial Classes in C#
Learn the purpose, differences, and use cases of sealed, static, and partial classes in C# with practical examples.