Dependency injection is an advanced topic. The term was coined by Martin Fowler in 2004 to describe the new, novel and almost magical way that inversion of control containers initialized the ...
Came across this piece of code which has no dispose method called, not wrapping in try/catch or using etc. My gut reaction would be to pop this in a using () {} construct, but with the conditional ...