A public class named Message has a method named SendMessage. The SendMessage() method is leaking memory.
A. Add a finally statement and implement the gc.collect() method.
B. Modify the Message class to use the IDisposable interface.
C. Remove the try"¦catch block and allow the errors to propagate.
D. Replace the try"¦catch block with a using statement.
A is Correct, the key is unManaged Resources
B
are you sure?
A is Correct, the key is unManaged Resources