I have a managed object in a C++/CLI assembly. Being C++/CLI, it implements the Disposable pattern through its \"destructor\" (yes, I\'m aware it\'s not the same as a standard C
The C++/CLI destructor-like syntax automatically implements IDisposable, but it does so in a manner similar to C#'s explicit interface implementation. This means you'll have to cast to IDisposable to access the Dispose method: