A using clause that uses structural typing so it can be used on any object with a close method.
A using clause that uses structural typing so it can be used on any object with a close method.
The supplied block will run with the allocated resource. The resource will be cleaned up when the block is complete.
Functions for managing resources.