Question: C# Excercise (Threads, Delegates, Actions, Events, Exceptions) Create a console application or windows with the following characteristics: - Create a Worker class with the following:
C#
Excercise (Threads, Delegates, Actions, Events, Exceptions)
Create a console application or windows with the following characteristics:
- Create a Worker class with the following:
Receive in the constructor a method that will execute a method that runs every N seconds also receive the number N in the constructor.
Have as property a method to show progress
Have as property a method to indicate that the process was requested to start
Have as property a method to indicate that the process was requested to finish
Have as property a method to handle errors
Method Start() that starts that will run every N seconds
Method Stop() that stops the execution
Do not block the main thread of execution
- From the principal class or the principal thread of execution.
Be able to start one or multiple instances of process
Start
Stop
Create two different methods to show progreaa
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
