Is there a .Net equivalent to java.util.concurrent.Executor?

后端 未结 5 2230
轻奢々
轻奢々 2021-02-20 01:35

Have a long running set of discrete tasks: parsing 10s of thousands of lines from a text file, hydrating into objects, manipulating, and persisting.

If I were implement

5条回答
  •  有刺的猬
    2021-02-20 02:03

    You may want to look at the Task Parallel Library.

    As of C# 5 this is built into the language using the async and await keywords.

提交回复
热议问题