当前位置:网站首页>Microsoft. Bcl. Async usage summary -- in Net framework 4.5 project Net framework version 4.5 and above can use async/await asynchronous feature in C 5
Microsoft. Bcl. Async usage summary -- in Net framework 4.5 project Net framework version 4.5 and above can use async/await asynchronous feature in C 5
2022-06-30 09:26:00 【LongtengGensSupreme】
Under normal circumstances async/await Asynchronous features , Only in .NET Framework 4.5 The above version can only be used , If you want to be in .NET Framework 4 Use C# 5 What about the asynchronous feature in ? Fortunately, there is an open source class library available --Microsoft.Bcl.Async package , Generally, if you refer to this class library , Need to quote at the same time Microsoft.Bcl.Async Package consists of three libraries :Microsoft.Bcl、Microsoft.Bcl.Async and Microsoft.Bcl.Build. The specific use is as follows :
Select project - Right click to manage NuGet Package
Input Microsoft.bcl, Search , find Microsoft.Bcl.Async, Click Install
The interface after installation is as follows :
Through the above operations, you can .NET Framework 4.5 Use... On projects .NET Framework 4.5 Version and above can be used C# 5 Medium async/await Asynchronous feature .
边栏推荐
- Get to know handler again
- Niuke IOI weekly competition 20 popularization group (problem solving)
- Abstract factory pattern
- Anchorgenerator for mmdet line by line interpretation
- What kind of experience is it to develop a "grandson" who will call himself "Grandpa"?
- Deep understanding of kotlin collaboration context coroutinecontext
- Esp32 things (VIII): music playing function of function development
- Explanation on the use of password profiteering cracking tool Hydra
- Wechat development tool (applet)
- Niuke walks on the tree (ingenious application of parallel search)
猜你喜欢
Do you want the dialog box that pops up from the click?
Express の post request
Opencv learning notes -day 12 (ROI region extraction and inrange() function operation)
C accesses mongodb and performs CRUD operations
Pit encountered by fastjason
Harmonyos actual combat - ten thousand words long article understanding service card development process
float
Based on svelte3 X desktop UI component library svelte UI
4. use ibinder interface flexibly for short-range communication
Installation, use and explanation of vulnerability scanning tool OpenVAS
随机推荐
Influencing factors of echo cancellation for smart speakers
Anchorgenerator for mmdet line by line interpretation
RPC understanding
Esp32 things (V): analysis of common API of esp32 of Swiss Army knife
Why must redis exist in distributed systems?
Acquisition de 100% des actions de Guilin latex par Guilin Robust Medical pour combler le vide de la gamme de produits Latex
Agp7.0|kts makes a reinforced plug-in
Rew acoustic test (II): offline test
Differences between the notify(), notifyall(), notifydatasetchanged(), notifydatasetinvalidated() methods in the adapter
Concatapter tutorial
Raspberry pie 4B no screen installation system and networking using VNC wireless projection function
Handwriting sorter component
Application of hongruan face recognition
[JPEG] how to compile JPEG turbo library files on different platforms
Small program learning path 1 - getting to know small programs
Pit encountered by fastjason
Comparison of two ways for C to access SQL Server database (SqlDataReader vs SqlDataAdapter)
【付费推广】常见问题合集,推荐榜单FAQ
Esp32 (7): I2S and I2C drivers for function development
Express - static resource request