Hi,
I am trying to get clarification on how to use C# Tasks.
Lets say I have 10,000 objects I want to process.
Is it sensible to create 10,000 Task objects with the Task.Factory?
https://msdn.microsoft.com/en-us/library/dd321439(v=vs.110).aspx
TaskFactory.StartNew Method (Action)
Or should I be tiring to re-use a limited number?
However from the doco I am not sure how to do this. (Sure it something I have missed).
I have had some problems with things in the WaitingToRun state for longer then I would of expected.
So I am hoping to get some general guidance on all of this. (And some examples if possible).
Thanks,
Our community of experts have been thoroughly vetted for their expertise and industry experience.