Should I notice a difference in using Task vs Threads in .Net 4.0?
问题 I updated my code to use Tasks instead of threads.... Looking at memory usage and CPU I do not notices any improvements on the multi-core PC, Is this expected? My application essentially starts up threads/tasks in different objects when it runs... All I'm doing is a simple Task a = new Task(...) a.Start(); 回答1: There are various implications to using Tasks instead of Threads, but performance isn't a major one (assuming you weren't creating huge numbers of threads.) A few key differences: The