Using TaskFactory to manage easily dependencies between threads.
With the new TaskFactory class from .Net 4.0 it has become incredibly easy to manage dependencies between multiple tasks. In below code sample, the TaskFactory receive 6 tasks to execute. Additional logic is added as: – Task A will only be run when Task B and C are completed. – Task C will only be… Read More »