我搜索了互联网,并找不到解决方案。这是我可以发展自己的最好方式。但我在第一行发生错误。我得到这个错误:Xamarin(Mono)中的Alertdialog错误Android
Error CS0428: Cannot convert method group 'Create' to non-delegate type 'Android.App.AlertDialog'. Did you intend to invoke the method? (CS0428)
我的代码是:
AlertDialog alertMessage = new AlertDialog.Builder(this).Create;
alertMessage.SetTitle("MobileSecure Key:");
alertMessage.SetMessage(cipherText);
alertMessage.Show();