Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My experience in C# has been that almost all library types that require resources to be released will implement the same IDisposable interface provided by the System namespace.

I'm sure there are examples of libraries that don't do this but I can't think of any off the top of my head and I'd assume that they're fairly rare.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: