nerdexam
GIAC

GSSP-NET · Question #462

Maria works as a Software Developer for BlueWell Inc. She develops an application named App1 using Visual Studio .NET 2005. App1 contains several pages. Maria wants to use components that provide…

The correct answer is C. The Dispose method of the Component class. See the full explanation below for the reasoning.

Question

Maria works as a Software Developer for BlueWell Inc. She develops an application named App1 using Visual Studio .NET 2005. App1 contains several pages. Maria wants to use components that provide services and resources. She also wants to release the resources explicitly by the components. Which of the following methods will she use to accomplish this task?

Options

  • AThe Finalize method of the BackgroundWorker class
  • BThe Dispose method of the BackgroundWorker class
  • CThe Dispose method of the Component class
  • DThe Finalize method of the Component class

How the community answered

(46 responses)
  • A
    2% (1)
  • B
    7% (3)
  • C
    83% (38)
  • D
    9% (4)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice