What is a Dependency

A dependency is an object a class needs to do its job. When a class creates its own dependencies with new, it's wired to them for good, and hard to test.

Updated

Cheat sheet: What is a Dependency
Category
C#
Level
Apprentice
Tags
c-sharp, Dependency (oop), Dependency Injection (oop), OOP