Glossary: C# Beyond the Basics
dependency injection
Also written: DI
A technique where a class is handed the interfaces it needs, such as an `IStore<T>`, instead of creating them. You can then swap in a fake in tests. It is covered in the next book.
Glossary: C# Beyond the Basics
Also written: DI
A technique where a class is handed the interfaces it needs, such as an `IStore<T>`, instead of creating them. You can then swap in a fake in tests. It is covered in the next book.