EasyConsoleHelper 1.1.0
dotnet add package EasyConsoleHelper --version 1.1.0
NuGet\Install-Package EasyConsoleHelper -Version 1.1.0
<PackageReference Include="EasyConsoleHelper" Version="1.1.0" />
<PackageVersion Include="EasyConsoleHelper" Version="1.1.0" />
<PackageReference Include="EasyConsoleHelper" />
paket add EasyConsoleHelper --version 1.1.0
#r "nuget: EasyConsoleHelper, 1.1.0"
#:package EasyConsoleHelper@1.1.0
#addin nuget:?package=EasyConsoleHelper&version=1.1.0
#tool nuget:?package=EasyConsoleHelper&version=1.1.0
EasyConsoleHelper - ECH
EasyConsoleHelper includes some simple QoL-Functions to help with creating console applications. Currently there are two functions, more will be added later.
Functions
ECH.ColorPrint()
ColorPrint() takes a string and a ConsoleColor as parameters and prints the text in the given color while returning to the original ForegroundColor from befor execution.
Example Code:
Console.WriteLine("This will be printed in the set foreground color, standard is white.");
ECH.ColorPrint("This will be printed in blue.", ConsoleColor.Blue);
Console.WriteLine("This will be in white again.");
ECH.ErrorPrint()
ColorPrint() takes a string as parameter and prints the text in red as an error while returning to the original ForegroundColor from befor execution.
Example Code:
Console.WriteLine("This will be printed in the set foreground color, standard is white.");
ECH.ErrorPrint("This will be printed in red.");
Console.WriteLine("This will be in white again.");
Example Output:
This will be printed in the set foreground color, standard is white.
Error: This will be printed in red.
This will be in white again.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0 | 176 | 5/16/2024 |