Question:You create a generic class in which you store field members whose type is generic. What do you do to dispose of the objects stored in the fields? - VB.NET 

A Call the Object.Dispose method. 

B Implement the IDisposable interface. 

C Derive the generic class from the IDisposable class. 

D Use constraints to require the generic type to implement the IDisposable interface. 

+ Answer
+ Report
Total Preview: 1818

Copyright © 2024. Powered by Intellect Software Ltd