I have read a lot about async/await being implemented (internally) as a state machine, and would like to know if I can use the VS2012 compiler, while still using Net version 4 as my runtime to use these new features?
I remember that I could do this with several new features of Net 4 while still using Net 3.5 but with the VS2010 compiler.
Thanks,
Martin.
Right from the Visual Studio Asynchronous programming page:
http://msdn.microsoft.com/en-us/vstudio/async.aspx
So yes, you can download the Async Targeting Pack for Visual Studio 2012 and use the async programming features while still targeting .NET Framework 4.