Method Alert
Alert(object?)
Instructs the application to display a dialog with an optional
message
,
and to wait until the user dismisses the dialog.
public static void Alert(object? message = null)
Parameters
message
objectA string you want to display in the alert dialog, or, alternatively, an object that is converted into a string and displayed.