Click here to Skip to main content
15,897,113 members
Articles / Desktop Programming / WPF

Implementing Unity's Coroutines on Winforms and WPF Applications

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
6 Jun 2017CPOL3 min read 13.6K   431   2  
In this article, we show how you can execute asynchronous code on the main thread without async, by replicating Unity's coroutine framework.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) CREAT3D Productions
Greece Greece
Former Lead Programmer, CEO and Project Manager at InsurgentX Entertainment Ltd.

Current CO-Founder, Project Manager and Lead Programmer at CREAT3D Productions, developing the PC video game Stellar Codex.

More than 10 years of experience in programming on various languages, like C#, VB.Net, PHP, Javascript, C, C++, Objective-C, etc.

Lecturer and part time tutor on Software development.

Extensive experience in Networking, and specialist on Artificial Intelligence.

Comments and Discussions