Open
Description
The remarks for System.Threading.Tasks.Task
seem to largely originate from the .Net Framework 4.0 era and could use some modernization. Some of the issues:
- The first thing mentioned is the
Task
constructor, the second isStartNew()
and the fourth isRunSynchronously()
. Those methods should be used only rarely, so they either should not be mentioned here at all, or at a much less prominent place. - Most of the examples use
Wait()
and notawait
. I think this proportion should be reversed. - When the example does use
await
, it does not explain it. For something so important toTask
, I think a sentence with a link to the documentation for the keyword is the minimum.
Less important notes:
- There's quite a few
Main
s in the examples, so they could benefit from using top-level statements, assuming that's acceptable. - The section For debugger developers documents implementation details and has incredibly niche audience. That might have been useful when .Net was not open source, but now debugger developers can read the source code, which contains the same information. So I think this section should be deleted here.