Prints a string, and awaits the user's response.
Namespace: MooshAssembly: Moosh (in Moosh.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string Prompt(
string prompt
)
Public Shared Function Prompt (
prompt As String
) As String
public:
static String^ Prompt(
String^ prompt
)
static member Prompt :
prompt : string -> string
Parameters
- prompt
- Type: SystemString
The string to print. ": " will be appended afterwards.
Return Value
Type:
StringConsole.ReadLine();
See Also