Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aync and await in monotouch

Is it currently possible to use async and await in Monotouch 5.2.11. What c# 5.0 features are already available? Why does xamarin mobile require Async CTP for wp7 - that sort of tells me the library uses some async features.

like image 956
coderguy123 Avatar asked May 18 '12 23:05

coderguy123


1 Answers

MonoTouch as of February 2013 does not currently ship with a C# 5.0 compiler.

We are planning on launching our Async support for the Evolve conference (xamarin.com/evolve) in April 2013.

Old Response

As of May 19th, 2012, the answer was: we are waiting for Microsoft to officially release their compiler, which is a sign that they wont be making language or runtime changes.

Until then, it is not safe to ship a feature that might break.

The Xamarin.Mobile library is on a different schedule, it is currently in beta, so it can use some upcoming features.

Our plan is to release a C# 5-based MonoTouch shortly after Microsoft releases the official Visual Studio 2012 with C# 5

like image 177
miguel.de.icaza Avatar answered Sep 24 '22 20:09

miguel.de.icaza