You are creating a generic class, and you need to dispose of the generic objects. How can you do this?

 Posted by Raja on 9/24/2008 | Category: C# Interview questions | Views: 32174
Select from following answers:
  1. Call the Object.Dispose method.
  2. Implement the IDisposable interface.
  3. Derive the generic class from the IDisposable class.
  4. Use constraints to require the generic type to implement the IDisposable interface.
  5. All Above

Show Correct Answer

Source: MCTS Book | | Alert Moderator 

Comments or Responses

Login to post response