Explore principles for maintaining clean code with multiple classes. Learn about class collaboration, interfacing, abstract classes, managing dependencies, practicing polymorphism, and handling exceptions across classes.
Overview
Syllabus
- Unit 1: Clean Code with Multiple Classes in C#
- Refactoring Feature Envy in Class Collaboration
- Refactoring Message Chains in Address Retrieval
- Remove the Middle Man to Optimize Class Structure
- Unit 2: Clean Code with Interfaces and Abstract Classes in C#
- Refactor Payment System Using Interfaces in C#
- Implementing Interface-based Payment System in C#
- Refactor Document Processing with Abstract Classes in C#
- Unit 3: Dependency Management in C# Classes
- Decoupling Car and Engine with Interfaces
- Refactoring with Dependency Injection in C#
- Implementing the Factory Pattern for FruitStore in C#
- Unit 4: Polymorphism in Practice with C#
- Refactoring Animal Feeding with Polymorphism in C#
- Polymorphism Practice with Animal Behaviors in C#
- Unit 5: Handling Exceptions Across Classes in C#
- Refactor Exception Handling in Banking Application
- Refactor Exception Handling with Custom Exceptions in C#