EDIT: This question is a duplicate of What is the difference between managed and native resources when disposing? (.NET) and many others. Please answer the
When you need to release unmanaged resources, implement IDisposable.