Commonly used code for .Net / Mono / Xamarin apps