Which version of Silverlight Supports Task parallel Library

后端 未结 1 1887
悲哀的现实
悲哀的现实 2021-01-25 14:35

Though TPL is widely accepted as a feature of C# 4.0 , but heard that it is not supported on SL4, but SL5.

Could not find any solid evidence of it.

So why the d

1条回答
  •  礼貌的吻别
    2021-01-25 15:10

    If you need TCL in Silverlight 4 you can add the "Microsoft.Bcl" and "Microsoft.Bcl.Async" nuGet packages to your project.

    They implement part of what TCL delivers in .net. More info can be found here

    Don't forget you have to use the TaskEx class instead.

    Hoped it helped.

    0 讨论(0)
提交回复
热议问题