Run Tasks in Parallel

Code Example - Run Tasks in Parallel

                
                        IList<Cat> cats;
IList<Food> food;

Parallel.Invoke
(
    () => cats = GetAllTheCats(foo),
    () => food = GetAllTheFood(foo)
);