You develop a class named MyClass. MyClass has a method that uses a COM object.
You need to ensure that when MyClass is instantiated by using the using keyword, the COM object is released at the end of the using scope
Which interface should you implement?
A. ISerializable
B. IDisposable
C. ICIoneable
D. IFormattable
Correct (B)