Meassure System

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

Suggest possible conversions from a meassure unit:

private IEnumerable<Length> SuggestConvertions (Length length)
    => new List<Length>
       {
           length.km(),
           length.hm(),
           length.dam(),
           length.m(),
           length.dm(),
           length.cm(),
           length.mm(),
           length.yd(),
           length.ft(),
           length.inch(),
       }.Where(l => l.OriginalUnit != length.OriginalUnit);
                                    

Arithmetic operations are available too:

Length l = 4.dm() + 10.m() + 50.mm();
An error has occurred. This application may no longer respond until reloaded. Reload 🗙