Let's take a progress bar incorporated into the console application project.
Surely every programmer found himself in a situation where he needed to monitor the progress of the program with a progress bar in a console application. However, unlike a Win.Form project, where the progressbar can be inserted via the ToolBox, in a console application it is necessary to program the progressbar manually.
As such, the progress bar runs in its own thread, which is mapped to the thread in which part of the program, for example (copying, deleting, moving), is executed.
Such code in a console application would be difficult to write and complicated.
So I decided to suggest another, simpler way.
More in the video: