title: Where exactly is the difference between IoC and DI
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3226605/inversion-of-control-dependency-injection">Inversion of Control &lt; Dependency Injection</a>  </p>
  </blockquote>
  
  
  
  <p>I always read IoC(Inversion of Control) and DI(Dependency Injection) in the same context. What is exactly the difference between IoC and DI? How does IoC differ from DI?</p>