Soenneker.Utils.Random 2.1.36

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.36                
NuGet\Install-Package Soenneker.Utils.Random -Version 2.1.36                
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.36" />                
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.36                
#r "nuget: Soenneker.Utils.Random, 2.1.36"                
#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.36

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

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 (4)

Showing the top 4 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

Soenneker.Extensions.List

A collection of helpful list extension methods

Soenneker.ConcurrentProcessing.Executor

A util that runs multiple async tasks concurrently with features for limiting and retry

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.73 7,305 2/13/2025
3.0.72 14,987 2/11/2025
3.0.71 2,965 2/11/2025
3.0.70 26,635 2/10/2025
3.0.69 46,242 2/7/2025
3.0.68 75 2/7/2025
3.0.67 63,090 1/27/2025
3.0.66 6,111 1/27/2025
3.0.65 44,135 1/23/2025
3.0.64 23,992 1/21/2025
3.0.63 31,354 1/20/2025
3.0.62 102,704 1/14/2025
3.0.61 35,299 1/10/2025
3.0.60 63 1/10/2025
3.0.59 30,670 1/2/2025
3.0.58 19,999 12/31/2024
3.0.57 4,795 12/31/2024
3.0.56 30,819 12/31/2024
3.0.55 48,416 12/24/2024
3.0.54 83,386 12/18/2024
3.0.53 23,751 12/17/2024
3.0.52 66,089 12/5/2024
3.0.51 58,074 12/2/2024
3.0.50 21,051 12/1/2024
3.0.49 46,306 11/19/2024
3.0.48 42,367 11/14/2024
2.1.47 58,201 11/8/2024
2.1.46 228,867 9/27/2024
2.1.45 63,102 9/23/2024
2.1.44 43,537 9/17/2024
2.1.43 65,743 9/11/2024
2.1.42 40,227 9/9/2024
2.1.41 50,452 9/5/2024
2.1.40 84,284 8/20/2024
2.1.39 123,896 7/9/2024
2.1.38 40,306 7/8/2024
2.1.37 2,914 7/8/2024
2.1.36 32,315 7/7/2024
2.1.35 136,887 5/25/2024
2.1.34 119 5/25/2024
2.1.33 24,040 5/22/2024
2.1.32 27,835 5/16/2024
2.1.31 54,651 4/27/2024
2.1.30 5,873 4/27/2024
2.1.29 45,197 4/12/2024
2.1.28 130 4/11/2024
2.1.27 83,057 3/13/2024
2.1.26 113,658 2/21/2024
2.1.25 8,235 2/21/2024
2.1.24 295 2/21/2024
2.1.23 89,992 2/9/2024
2.1.22 276 2/9/2024
2.1.21 40,684 2/6/2024
2.1.20 124,891 1/15/2024
2.1.19 49,129 1/5/2024
2.1.18 28,024 12/27/2023
2.1.17 359 12/27/2023
2.1.16 24,595 12/25/2023
2.1.15 398 12/25/2023
2.1.14 28,152 12/23/2023
2.1.13 358 12/23/2023
2.1.12 42,723 12/9/2023
2.1.11 1,591 12/9/2023
2.1.10 27,543 12/4/2023
2.1.9 23,083 11/23/2023
2.1.8 23,424 11/19/2023
2.1.7 448 11/18/2023
2.1.6 13,338 11/18/2023
2.1.5 9,775 11/17/2023
2.1.4 10,330 11/17/2023
2.1.3 5,919 11/16/2023
2.0.31 8,104 11/15/2023
2.0.2 417 11/16/2023
2.0.1 407 11/16/2023
1.0.30 19,478 11/8/2023
1.0.29 12,832 11/3/2023
1.0.28 12,588 11/1/2023
1.0.27 24,302 10/17/2023
1.0.26 10,309 10/13/2023
1.0.25 400 10/13/2023
1.0.24 21,818 9/18/2023
1.0.23 443 9/18/2023
1.0.22 23,836 8/29/2023
1.0.21 18,003 8/23/2023
1.0.20 16,764 8/16/2023
1.0.19 25,437 8/4/2023
1.0.18 25,351 7/7/2023
1.0.17 148,929 5/24/2023
1.0.16 1,814 5/23/2023
1.0.15 459 6/6/2023
1.0.14 4,658 5/23/2023
1.0.13 728 5/22/2023
1.0.12 29,823 5/16/2023
1.0.11 21,014 4/21/2023
1.0.10 21,897 4/11/2023
1.0.9 9,483 4/3/2023
1.0.8 1,104 4/1/2023
1.0.7 6,208 2/26/2023
1.0.6 549 2/26/2023
1.0.5 540 2/26/2023
1.0.4 545 2/26/2023
1.0.2 2,526 2/9/2023
1.0.1 482 3/31/2023