Method AskYesNo
AskYesNo(string, bool)
Ask a question which need a Yes/No answer
Declaration
public bool AskYesNo(string question, bool defaultValue = false)
Parameters
Type | Name | Description |
---|---|---|
string | question | Question to display |
bool | defaultValue | Default value (if interfactive mode is disabled) |
Returns
Type | Description |
---|---|
bool |