Code your own IOC Container

Peanut picture Peanut · Dec 22, 2008 · Viewed 17.8k times · Source

Has anyone out there written their own IOC Container in C#? Or do the vast majority of folks use the various frameworks such as Spring. What are the pro's and con's of each?

Answer

Cristian Libardo picture Cristian Libardo · Dec 22, 2008

It's a good excercise to write your own but in the end you might want to use an existing container. You could start with this one in 15 lines of code.