Soenneker.Utils.Random 2.1.42

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.Random --version 2.1.42                
NuGet\Install-Package Soenneker.Utils.Random -Version 2.1.42                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Utils.Random" Version="2.1.42" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.Random --version 2.1.42                
#r "nuget: Soenneker.Utils.Random, 2.1.42"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Soenneker.Utils.Random as a Cake Addin
#addin nuget:?package=Soenneker.Utils.Random&version=2.1.42

// Install Soenneker.Utils.Random as a Cake Tool
#tool nuget:?package=Soenneker.Utils.Random&version=2.1.42                

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Utils.Random

A thread-safe random utility library

Installation

dotnet add package Soenneker.Utils.Random

Usage

// Returns an integer >= 5, and < 20
RandomUtil.Next(5, 20);
// Returns a double >= 5, and < 20
RandomUtil.NextDouble(5, 20);
// Returns a random number with a uniform and discrete distribution
RandomUtil.NextDecimalUniform(5, 20);
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Soenneker.Utils.Random:

Package Downloads
Soenneker.Extensions.String

A collection of useful string extension methods

Soenneker.Extensions.Enumerable

A collection of helpful enumerable extension methods

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.49 16,493 11/19/2024
3.0.48 37,046 11/14/2024
2.1.47 56,222 11/8/2024
2.1.46 227,191 9/27/2024
2.1.45 62,713 9/23/2024
2.1.44 43,427 9/17/2024
2.1.43 65,451 9/11/2024
2.1.42 40,169 9/9/2024
2.1.41 50,381 9/5/2024
2.1.40 84,138 8/20/2024
2.1.39 123,262 7/9/2024
2.1.38 38,106 7/8/2024
2.1.37 2,902 7/8/2024
2.1.36 32,232 7/7/2024
2.1.35 136,499 5/25/2024
2.1.34 109 5/25/2024
2.1.33 23,967 5/22/2024
2.1.32 27,758 5/16/2024
2.1.31 54,520 4/27/2024
2.1.30 5,859 4/27/2024
2.1.29 45,088 4/12/2024
2.1.28 119 4/11/2024
2.1.27 82,399 3/13/2024
2.1.26 113,451 2/21/2024
2.1.25 8,205 2/21/2024
2.1.24 288 2/21/2024
2.1.23 89,794 2/9/2024
2.1.22 264 2/9/2024
2.1.21 40,589 2/6/2024
2.1.20 124,692 1/15/2024
2.1.19 49,029 1/5/2024
2.1.18 27,976 12/27/2023
2.1.17 351 12/27/2023
2.1.16 24,567 12/25/2023
2.1.15 388 12/25/2023
2.1.14 28,104 12/23/2023
2.1.13 350 12/23/2023
2.1.12 42,626 12/9/2023
2.1.11 1,582 12/9/2023
2.1.10 27,463 12/4/2023
2.1.9 23,018 11/23/2023
2.1.8 23,386 11/19/2023
2.1.7 439 11/18/2023
2.1.6 13,318 11/18/2023
2.1.5 9,736 11/17/2023
2.1.4 10,312 11/17/2023
2.1.3 5,906 11/16/2023
2.0.31 8,086 11/15/2023
2.0.2 408 11/16/2023
2.0.1 397 11/16/2023
1.0.30 19,438 11/8/2023
1.0.29 12,784 11/3/2023
1.0.28 12,573 11/1/2023
1.0.27 24,256 10/17/2023
1.0.26 10,287 10/13/2023
1.0.25 393 10/13/2023
1.0.24 21,755 9/18/2023
1.0.23 437 9/18/2023
1.0.22 23,768 8/29/2023
1.0.21 17,936 8/23/2023
1.0.20 16,742 8/16/2023
1.0.19 25,407 8/4/2023
1.0.18 25,303 7/7/2023
1.0.17 148,741 5/24/2023
1.0.16 1,807 5/23/2023
1.0.15 452 6/6/2023
1.0.14 4,645 5/23/2023
1.0.13 721 5/22/2023
1.0.12 29,728 5/16/2023
1.0.11 20,969 4/21/2023
1.0.10 21,864 4/11/2023
1.0.9 9,476 4/3/2023
1.0.8 1,096 4/1/2023
1.0.7 6,191 2/26/2023
1.0.6 539 2/26/2023
1.0.5 532 2/26/2023
1.0.4 537 2/26/2023
1.0.2 2,508 2/9/2023
1.0.1 474 3/31/2023