Initial commit

This commit is contained in:
Mark J Price 2022-03-05 15:45:55 +00:00
parent 01d6ccf414
commit dd097904c2
54 changed files with 37154 additions and 0 deletions

View file

@ -0,0 +1,28 @@
partial class Program
{
static void SectionTitle(string title)
{
ConsoleColor previousColor = ForegroundColor;
ForegroundColor = ConsoleColor.Yellow;
WriteLine("*");
WriteLine($"* {title}");
WriteLine("*");
ForegroundColor = previousColor;
}
static void Fail(string message)
{
ConsoleColor previousColor = ForegroundColor;
ForegroundColor = ConsoleColor.Red;
WriteLine($"Fail > {message}");
ForegroundColor = previousColor;
}
static void Info(string message)
{
ConsoleColor previousColor = ForegroundColor;
ForegroundColor = ConsoleColor.Cyan;
WriteLine($"Info > {message}");
ForegroundColor = previousColor;
}
}