- Course
Object-oriented Programming in C# 14
Learn how to design robust object-oriented domain models in C# 14. This course shows how to move beyond basic OO syntax and apply encapsulation, composition, factories, interfaces, and value objects to write more maintainable code.
- Course
Object-oriented Programming in C# 14
Learn how to design robust object-oriented domain models in C# 14. This course shows how to move beyond basic OO syntax and apply encapsulation, composition, factories, interfaces, and value objects to write more maintainable code.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Many developers know how to write object-oriented code, but still have a hard time with designs that are hard to maintain and easy to get wrong. In this course, Object-oriented Programming in C# 14, you’ll learn how to apply object-oriented design strategies to build robust domain models using familiar C# constructs. First, you’ll explore how to recognize and refactor anemic models into behavior-rich domain objects. Next, you’ll learn how to enforce valid object state through constructors and factory methods, and how to model relationships using composition instead of deep inheritance hierarchies. Finally, you’ll discover how interfaces, records, and immutability help you model behavior and values more deliberately. When you’re finished with this course, you’ll have the skills and confidence to design object-oriented models in C# that are easier to understand and safer to use.