TizzyT

WriteLineC - TizzyT

Oct 9th, 2014
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.31 KB | None | 0 0
  1.     Sub WriteLineC(ByVal Text As String, ByVal Color As ConsoleColor, Optional RevertColor As Boolean = True)
  2.         Dim crntC As ConsoleColor = Console.ForegroundColor
  3.         Console.ForegroundColor = Color
  4.         Console.WriteLine(Text)
  5.         If RevertColor Then Console.ForegroundColor = crntC
  6.     End Sub
Advertisement
Add Comment
Please, Sign In to add comment