UtilConsoleWriteColorText(String, ConsoleColor, ConsoleColor, Boolean) Method
Writes colored text on the Console.
Namespace: DevCase.Core.Application.ConsoleAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
static member WriteColorText :
text : string *
foreColor : ConsoleColor *
backColor : ConsoleColor *
?keepCursorPosition : bool
(* Defaults:
let _keepCursorPosition = defaultArg keepCursorPosition false
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- text String
-
The text to write.
- foreColor ConsoleColor
-
The text color.
- backColor ConsoleColor
-
The background color.
- keepCursorPosition Boolean (Optional)
-
If , holds the cursor position on its current position after writting the text.
Default value:
This is a code example.
No code example is currently available or this language may not be supported.
WriteColorText(" Hello World! ", ConsoleColor.Blue, ConsoleColor.Blue)
WriteColorText(" Hello World! ", ConsoleColor.Blue, Nothing)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.