OrderInference Code (Mono - Xamarin Version)