Info
Version: | 1.5.0 |
Author(s): | balfourcraig |
Last Update: | Wednesday, February 13, 2019 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/CBTools |
Install
Install-Package CBTools
dotnet add package CBTools
paket add CBTools
CBTools Download (Unzip the "nupkg" after downloading)
Dependencies
- System.Collections.Immutable(>= 1.5.0)
- System.IO(>= 4.3.0)
- System.Memory(>= 4.5.1)
Subject to change/growth.
Eg.
* IsEven for all number types
* Shuffle for arrays and IEnumerable (recursive shuffle, so may fail on very large lists)
* IsLower, IsNumeric, ToUpper, ToLower etc for char type
* FirstWord, LastWord, Capitalize, etc for string,
* Recursive file finder based on the path of a parent directory
* Read number from Console. Keep prompting until correct
* Write colored lines etc to console.
* Read while not flag (eg '#') for flag controlled while loop
* simple methods for building HTML strings eg.
P("Hello world", ("id","hello")) will build <p id="hello">Hello world</p>, supports class and style. This is pretty simple, I just needed something basic, so it's not very fancy and never will be.
And many more.