Meassure System

No more errors from using raw numbers dealing with time, pixels, length or weight values
Nuget | Github

Stronger and easier time use
Type more readable and easy code when dealing with time values; and do it less error prone.
MeassureSystem Std library
Time DELAY = 45.min(); // these are minutes for sure!
...
TimeSpan ts = DELAY;
int  DELAY = 45; // what is this? minute? seconds? ...
...
TimeSpan ts = TimeSpan.FromMinutes(DELAY); // Oh, minutes! 
string DELAY = "45min"; // these are minutes for sure!
...
TimeSpan ts = (Time) DELAY;
string  DELAY = "45"; // what is this? minute? seconds? ...
...
TimeSpan ts = TimeSpan.FromMinutes(int.Parse(DELAY)); // Oh, minutes! 
TimeSpan ts = ts + 3.min();
TimeSpan ts = ts.Add(TimeSpan.FromMinutes(int.Parse(3)));
Deconstruct as a tuple
Get every part of a time as easy as deconstructing it as a tuple:
var (d, h, min, s, ms) = 3.d() + 40.min() + 90.s(); // (3, 0, 41, 30, 0)
An error has occurred. This application may no longer respond until reloaded. Reload 🗙