public abstract class AutoCloseable
Subclasses of AutoCloseable automatically have their close() method called when used in the Java7 try-with-resources
statement. The C# version of this class implements the IDisposable interface and maps calls to the Dispose method to
close(). Essentially this class maps to the target language autoclosable-like interface (assuming it has that).