Soenneker.Utils.Random 2.1.29

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. 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.29
NuGet\Install-Package Soenneker.Utils.Random -Version 2.1.29
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.29" />
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.29
#r "nuget: Soenneker.Utils.Random, 2.1.29"
#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.29

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

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A collection of useful string extension methods

Soenneker.Extensions.Enumerable The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A collection of helpful enumerable extension methods

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.31 20,462 4/27/2024
2.1.30 4,877 4/27/2024
2.1.29 33,458 4/12/2024
2.1.28 87 4/11/2024
2.1.27 60,296 3/13/2024
2.1.26 85,671 2/21/2024
2.1.25 6,507 2/21/2024
2.1.24 242 2/21/2024
2.1.23 70,155 2/9/2024
2.1.22 231 2/9/2024
2.1.21 31,289 2/6/2024
2.1.20 99,423 1/15/2024
2.1.19 40,066 1/5/2024
2.1.18 22,814 12/27/2023
2.1.17 325 12/27/2023
2.1.16 19,760 12/25/2023
2.1.15 360 12/25/2023
2.1.14 22,632 12/23/2023
2.1.13 328 12/23/2023
2.1.12 34,588 12/9/2023
2.1.11 1,399 12/9/2023
2.1.10 22,300 12/4/2023
2.1.9 18,402 11/23/2023
2.1.8 18,403 11/19/2023
2.1.7 386 11/18/2023
2.1.6 10,789 11/18/2023
2.1.5 7,795 11/17/2023
2.1.4 8,200 11/17/2023
2.1.3 4,458 11/16/2023
2.0.31 6,509 11/15/2023
2.0.2 383 11/16/2023
2.0.1 377 11/16/2023
1.0.30 15,747 11/8/2023
1.0.29 10,616 11/3/2023
1.0.28 10,669 11/1/2023
1.0.27 19,950 10/17/2023
1.0.26 8,733 10/13/2023
1.0.25 372 10/13/2023
1.0.24 18,396 9/18/2023
1.0.23 410 9/18/2023
1.0.22 20,420 8/29/2023
1.0.21 15,268 8/23/2023
1.0.20 14,386 8/16/2023
1.0.19 22,019 8/4/2023
1.0.18 21,962 7/7/2023
1.0.17 131,180 5/24/2023
1.0.16 1,587 5/23/2023
1.0.15 430 6/6/2023
1.0.14 4,242 5/23/2023
1.0.13 646 5/22/2023
1.0.12 27,067 5/16/2023
1.0.11 18,904 4/21/2023
1.0.10 19,763 4/11/2023
1.0.9 8,554 4/3/2023
1.0.8 1,012 4/1/2023
1.0.7 5,769 2/26/2023
1.0.6 514 2/26/2023
1.0.5 502 2/26/2023
1.0.4 498 2/26/2023
1.0.2 2,383 2/9/2023
1.0.1 450 3/31/2023