---
title: "Discussion on \"Dependency Injection in C#\" | Hashnode"
description: "Discussion on \"Dependency Injection in C#\". Why do we need Dependency Injection?\nBecause ‘Dependency Inversion’ is the D in SOLID and dependency injection is the method we use to achieve this. End of.\nKidding.\nIt’s because Uncle Bob told us to.\nAlso kidding.\nIt’s to save you time and effort wh..."
url: "https://hashnode.com/posts/dependency-injection-in-c/65a82ab0849a203d1ef76d5c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dependency Injection in C#](https://kateeliza29.hashnode.dev/dependency-injection-in-c?utm_source=hashnode&utm_medium=feed)

Why do we need Dependency Injection? Because ‘Dependency Inversion’ is the D in SOLID and dependency injection is the method we use to achieve this. End of. Kidding. It’s because Uncle Bob told us to. Also kidding. It’s to save you time and effort wh...

Jan 17, 2024 · 4 min read · kateeliza29.hashnode.dev  
Read the article

-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)
-   [#dependency-inversion](https://hashnode.com/tag/dependency-inversion)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#net](https://hashnode.com/tag/net)
-   [#solid-principles](https://hashnode.com/tag/solid-principles)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Kate Brown](https://hashnode.com/@KateEliza29)

@KateEliza29

  
[View profile](https://hashnode.com/@KateEliza29)

Software Engineer and MSc Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
