Introduction - If you have any usage issues, please Google them yourself
A simple example of C#, lock, and multithreading, the benefits of using threads and using threads, can be used to put tasks in a long time program into the background
The user interface can be more attractive, for example, if a user clicks a button to trigger some event processing, a progress bar can be popped to display the progress of the process
The program may run at a faster rate
Threads are more useful in some of the waiting task implementations, such as user input, file read and write, and network send and receive data. In this case, you can release some valuable resources, such as memory usage and so on.