Prints a string and a newline, 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 PromptN(
string prompt
)
Public Shared Function PromptN (
prompt As String
) As String
public:
static String^ PromptN(
String^ prompt
)
static member PromptN :
prompt : string -> string
Parameters
- prompt
- Type: SystemString
The string to print. ":\n" will be appended afterwards.
Return Value
Type:
StringConsole.ReadLine();
See Also