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.
Question: You’ve implemented an event delegate from a class, but when you try to attach an event procedure you get a compiler error that there is no overload that matches the delegate. What happened? - VB.NET
A
The signature of the event procedure doesn’t match that defined by the delegate.
B
The event procedure is declared Shared/static, but it should be an instance member instead.
C
You mistyped the event procedure name when attaching it to the delegate.