June 2017
Intermediate to advanced
495 pages
9h 43m
English
© Ali Asad and Hamza Ali 2017
Ali Asad and Hamza Ali, The C# Programmer’s Study Guide (MCSD), 10.1007/978-1-4842-2860-9_8
Ali Asad1 and Hamza Ali1
(1)Sialkot, Pakistan
In this chapter, we’ll learn how to increase the performance of complicated and time-consuming operations of an application by:
Working with Threads
Working with Task
Making UI Responsive (async and await)
Using Parallel Programming
A thread controls the flow of an executable program. By default, a program has one thread called Main Thread. Main Thread starts when control enters in the Main method and it terminates when Main method returns.
If the execution of a program is controlled by more than one thread, it’s called ...
Read now
Unlock full access