coderguy123
coderguy123

Reputation: 1955

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.

Upvotes: 9

Views: 863

Answers (1)

miguel.de.icaza
miguel.de.icaza

Reputation: 32694

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

Upvotes: 8

Related Questions