Skip to content
Enes Okullu edited this page Jun 27, 2024 · 4 revisions

HelpConsole

Console colors

Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DrakGray, Blue, Green, Cyan, Red, Magenta, Yellow and White.

Console color arrays

AllLightColors, AllDarkColors, GrayToneColors, BlueToneColors, GreenToneColors, BlueToneColors, GreenToneColors, CyanToneColors, RedToneColors, MagentaToneColors, YellowToneColors, BlackWhiteColors.

Write

Write<T>(T value, ConsoleColor color);
  • Writes value with specified foreground color.
Write<T>(T value, ConsoleColor bgColor, ConsoleColor fgColor);
  • Writes values with specified background and foreground color.
Write<T>(T value, Melody melody);
  • Writes value with beeping specified melody.
Write<T>(T value, ConsoleColor color, Melody melody);
  • It calls Write<T>(T value, Console color) and beeps via Beeps(melody)
Write<T>(List<T> valueList, T expectedValue, ConsoleColor valueColor, ConsoleColor expectedColor);
  • Writes values with specified valueColor and use expectedColor to write expectedValue during writing of the list.
Write<T>(List<T> valueList, T expectedValue, Melody melody, ConsoleColor valueColor, ConsoleColor expecetedColor);
  • Writes values with specified valueColor also beeping specified melody and use expectedColor to write expectedValue during writing of the list.
Write<T>(T[] valueArray, T expectedValue, ConsoleColor valueColor, ConsoleColor expectedColor);
  • Writes values with specified valueColor and use expectedColor to write expectedValue during writing of the list.
Write<T>(T[] valueArray, T expectedValue, Melody melody, ConsoleColor valueColor, ConsoleColor expectedColor)
  • Writes values with specified valueColor also beeping specified melody and use expectedColor to write expectedValue during writing of the list.
Write<T>(T[] valueArray, ConsoleColor[] colorList)
  • Writes values with items of specified color array.

WriteLine

WriteLine<T>(T value, ConsoleColor color);
  • Writes value with specified color with new line.
WriteLine<T>(T value, ConsoleColor bgColor, ConsoleColor fgColor);
  • Writes values with specified background and foreground color.
WriteLine(T value, Melody melody);
  • Writes value with beeping specified melody.
WriteLine<T>(T value, ConsoleColor color, Melody melody);
  • It calls Write<T>(T value, Console color) and beeps via Beeps(melody)
WriteLine<T>(List<T> valueList, T expectedValue, ConsoleColor valueColor, ConsoleColor expectedColor);
  • Writes values with specified valueColor and use expectedColor to write expectedValue during writing of the list with new line each.
 WriteLine<T>(List<T> valueList, T expectedValue, Melody melody, ConsoleColor valueColor, ConsoleColor expectedColor);
  • Writes values with specified valueColor also beeping specified melody and use expectedColor to write expectedValue during writing of the list.
WriteLine<T>(T[] valueArray, T expectedValue, ConsoleColor valueColor, ConsoleColor expectedColor);
  • Writes values with specified valueColor and use expectedColor to write expectedValue during writing of the list.
WriteLine<T>(T[] valueArray, T expectedValue, Melody melody, ConsoleColor valueColor, ConsoleColor expectedColor)
  • Writes values with specified valueColor also beeping specified melody and use expectedColor to write expectedValue during writing of the list.
WriteLine<T>(T[] valueArray, ConsoleColor[] colorList)
  • Writes values with items of specified color array.

Clone this wiki locally