public override void ExitApplication() { #pragma warning disable 618 JavaSystem.RunFinalizersOnExit(true); #pragma warning restore 618 JavaSystem.Exit(0); }