Law of Demeter: Only Talk to Your Friends, Not Strangers
Master the Law of Demeter in C#! Learn how to write loosely coupled, maintainable code by avoiding "train wrecks" and respecting object boundaries. Practical examples included!
Design clean, extensible systems using object-oriented principles. Learn encapsulation, inheritance, polymorphism, SOLID, design by contract, and refactoring. Apply patterns that keep code testable, maintainable, and aligned with domain needs.
Know OOP/OOD? Share what you know with developers who are learning it.
Master the Law of Demeter in C#! Learn how to write loosely coupled, maintainable code by avoiding "train wrecks" and respecting object boundaries. Practical examples included!
This article is about the general concepts of Object-Oriented Programming with examples in c sharp programming language.
In this article, you will learn about how you inject your services, it's about how you test them.
Frequently asked interview question. & good programming practice.
Learn how to prepare C# model classes for JSON and XML serialization using data contract attributes, Newtonsoft.Json, and XmlSerializer.
Publish an article in this category and earn +1,000 SHARP when it is approved.
Write an article