You as the developer of Domain.com use a client computer named Certkiller -WS023 as developing collateral.
You are busy to develop a Microsoft Windows Forms application that performs long- running task that performs in the background thread. The application is of such a kind, that it does not interoperate with Component Object Model {COM}.
What should you do to configure the application so that the background thread can report the status of the task by calling the ReportProgress method of the BackgroundWorker class?
A.
You should add a ProgressBar control to the form that hosts the BackgroundWorker component.
B.
You should apply the MTATThread attribute to the Main method of the application.
C.
You should apply the STATThread attribute to the Main method of the application.
D.
You should set WorkerReportProgress property of the BackgroundWorker class to true.