What .NET 4.5 (or earlier) higher-level constructs make Threading easier?

前端 未结 4 1555
借酒劲吻你
借酒劲吻你 2021-02-19 23:33

Delegates are a few of the objects that make threading easier in .NET reference. They can be used to asynchronously invoke a method. What other objects exist in framework 4.5 (o

4条回答
  •  不思量自难忘°
    2021-02-19 23:55

    The Task and Task, but they've been here since .NET 4. async does not necessarily work with threads, see Jon's video from Øredev for a very good explanation.

提交回复
热议问题