- PDF for offline use
Let us know how you feel about this
This section contains documents that explain some more advanced cross-platform application features and concepts.
Version 5 of C# introduced two new keywords to express asynchronous operations: async and await. These keywords let you write simple code that utilizes the Task Parallel Library to execute long running operations (such as network access) in another thread and easily access the results on completion. The latest versions of Xamarin.iOS and Xamarin.Android support async and await - this document provides explanations and an example of using the new syntax with Xamarin.
Xamarin.iOS, Xamarin.Android, and Xamarin.Mac all ship with over a dozen assemblies. Just as Silverlight is an extended subset of the desktop .NET assemblies, Xamarin platforms is also an extended subset of several Silverlight and desktop .NET assemblies.
This guide provides a list of all available assemblies shipped with each platform, and show which can be used on each platform.
The latest version of the C# language – version 6 – continues to evolve the language to have less boilerplate, improved clarity, and more consistency. Cleaner initialization syntax, the ability to use
catch/finally blocks, and the null-conditional
? operator are especially useful.
If the default set of options is not enough, you can drive the linking process with an XML file that describes what you want from the linker.
Tips for creating NuGet packages that work with the Xamarin platform.