What is the advantage of using the using statement with IDisposable objects?
It makes objects live longer
It automatically calls Dispose() even on exceptions
It disables GC
It stores objects on the stack
This question is part of this quiz :
Memory Management & Garbage Collection Quiz