I want to start a bunch of tasks and wait for all of them to finish.
This question is more or less identical to this question: Executing tasks in parallel
But, the answer is not same for Silverlight because there is no equivalent method to Task.WhenAll().
This should work, but I get an error
Start may not be called on a promise-style task.
foreach (var displayThumbnailTask in displayThumbnailTasks)
{
displayThumbnailTask.Start();
}
foreach (var task in displayThumbnailTasks)
{
await task;
}