Simple play icon Course
Skills

SOLID Principles for C# Developers

by Steve Smith

Every C# developer, or any developer using an object-oriented programming language, needs a good understanding of the SOLID principles. These principles guide your design toward more loosely coupled and maintainable software.

What you'll learn

It's easy to write software that fulfills its users' immediate needs, but is difficult to extend and maintain. Such software becomes a burden for companies striving to remain competitive.

In this course, SOLID Principles for C# Developers, you will learn five fundamental principles of object-oriented design that will keep your software loosely coupled, testable, and maintainable.

First, you will see how to keep classes small and focused, and how to extend their behavior without having to edit their source code.
Then, you will discover the importance of properly designing interfaces and abstractions in your systems.
Finally, you will explore how to arrange dependencies in your system so different implementations can be added or plugged in as needed, allowing a truly modular design.

When you are finished with this course, you will understand how to build maintainable, extensible, and testable applications using C# and .NET.

Course FAQ

What are SOLID principles?

SOLID is an acronym for design principles in object-oriented computer programming intended to make software designs easier to understand and more maintainable. The five principles are:

  • Single-responsibility
  • Open-closed
  • Liskov substitution
  • Interface segregation
  • Dependency inversion
What will I learn in this course?

This course will introduce you to the SOLID principles, specifically as they relate to being a C# developer. Some topics covered include:

  • Defining each SOLID principle
  • How to keep classes small and focused
  • Properly designing interfaces and abstractions in your systems
  • How to arrange dependencies
  • How to identify violations of the principles
  • Much more
Are there prerequisites to this course?

Before taking this course, you should be familiar with C#, but you don't need extensive experience. If you need a refresher, check out this course on C# Fundamentals.

Who should take this course?

Anyone who wants to learn the SOLID design principles in C#. If you want to make more loosely coupled and maintainable software, then this course is an excellent place to start.

About the author

Steve Smith (@ardalis) is an entrepreneur and software developer with a passion for building quality software as effectively as possible. He provides mentoring and training workshops for teams with the desire to improve. Steve has been recognized as a Microsoft MVP for over 10 consecutive years, and is a frequent speaker at software developer conferences and events. He is the top contributor to the official documentation on ASP.NET Core and enjoys helpings others write maintainable, testable app... more

Ready to upskill? Get started