Skip to content

PFalkowski/Extensions.Standard

Repository files navigation

Extensions.Standard

CI NuGet Quality Gate Status License: MIT Buy Me a Coffee

Lightweight extension methods (and constants) for common .NET programming tasks. Target: net8.0.

Install

dotnet add package Extensions.Standard

Highlights

  • Suffixes (AsMemory, AsTime)
  • Interpolate
  • Partition
  • Shuffle (O(n) Fisher-Yates)
  • Softmax
  • InnerProduct
  • IsPrime
  • ManhattanDistance, EuclideanDistance
  • InRangeInclusive / InRangeExclusive
  • MeanSquaredError
  • EqualsWithTolerance
  • HsVtoArgb
  • Scale, Fit
  • DeepCopy (reflection-based deep clone, no dependencies)
  • Truncate (string truncation with suffix)

and many more.

Extensions for System.Random (NextBool, NextChar, NextString etc.) moved to StrongRandom.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages