Is it safe to use the using statement on a (potentially) null object? Consider the following example:
using
class Test { IDisposable GetObject
Yes, before Disposing the reference will be null-checked. You can examine yourself by viewing your code in Reflector.