Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
2 posts found
#inheritance
Backend
PART 06
Polymorphism in C#: virtual, override, new and Abstract Classes
Letting the runtime decide with virtual and override, an if-free cart loop for shipping costs, base calls and overriding ToString, hiding with new and the CS0114 trap, abstract classes and the template method, sealed override and the NullReferenceException of calling a virtual method from a constructor.
7 Nov 2026
10 min
9
Backend
PART 05
Inheritance in C#: base, sealed and the Constructor Chain
Inheritance with Product, Book and EBook: what a derived class sees and protected, the constructor chain with base and the reverse order of field initializers, upcasting, downcasting, is and as, stopping derivation with sealed, and how an Order derived from List breaks encapsulation.
7 Nov 2026
11 min
8