4 ms·
I am always curious which enhancements to C# are just syntactic sugar vs. requiring IL and/or CLR enhancements. Microsoft released the CLR code required for as
by j_s 10y ago
I am always curious which enhancements to C# are just syntactic sugar vs. requiring IL and/or CLR enhancements.
Microsoft released the CLR code required for async/await separately, enabling back-compat for .NETv4.0. The F# language has supported it back to .NETv2.0.
https://blogs.msdn.microsoft.com/bclteam/2012/10/22/using-asyncawait-without-net-framework-4-5/ https://blogs.msdn.microsoft.com/bclteam/2012/10/22/using-as...
- dgudkov 10y agoAsync in F# works quite differently from C#. This article highlights some key differences [1]. [1] http://tomasp.net/blog/csharp-async-gotchas.aspx/ http://tomasp.net/blog/csharp-async-gotchas.aspx/