using (FileStream fileStream = new FileStream(path)) { // do something }
Now I know the using pattern is an implementation of IDisposable
Close() is not part of the IDisposable interface so using has no way to know whether it should be called or not. using will only call Dispose(), but intelligently designed objects will close themselves in the Dispose() method.