C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Parallel Programming: Task Schedulers and Synchronization Context
WhatsApp
Mahesh Chand
15y
10.5
k
0
5
Resource
0
Yes, it does everything that I wanted, but it uses the WPF API extensively. Although it is perfectly fine to use WPF as shown above, with the TPL you can make your code much less dependent on the particular UI framework. Right now, if you copy and paste the button event handler and the
SumRootN
method to a Windows Forms application with almost identical UI, you would need to do a lot of work, because Windows Forms doesn't have the
Dispatcher
object and uses different API for managing interactions with the UI thread.
Continue reading here ...
Parallel Programming
Synchronization Context
C#