Can you explain what dependency injection is? : csharp

I read the doc but I don’t understand why use it. It just seems to be a convoluted way to do things…