memory leaks - How to best clean up resources for .NET application? -


What's the best way to do or to ensure that Winforms. The NET application uses all the resources

Thanks.

If the class is used only to use the ID, then resources will be settled in C #:

 using  (var foo = new Foo ()) {// foo For some things}  

If you are writing a cover which will consume a lot of memory, then I would advise to apply it The front.


Comments