Skip to content

Latest commit

 

History

History
13 lines (4 loc) · 578 Bytes

ConsoleExtensions.md

File metadata and controls

13 lines (4 loc) · 578 Bytes

ConsoleExtensions

DDS.Net.Server.PublicExtensions.ConsoleExtensions provides following extension methods:

  • void WriteLine (this string message, ConsoleColor fgColor = ConsoleColor.White, ConsoleColor bgColor = ConsoleColor.Black) - outputs colored text with a following line-end on standard console and restores previously set colors.

  • void Write (this string message, ConsoleColor fgColor = ConsoleColor.White, ConsoleColor bgColor = ConsoleColor.Black) - outputs colored text without a line-end on standard console and restores previously set colors.