Soenneker.Utils.Random 4.0.100

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 4.0.100
                    
NuGet\Install-Package Soenneker.Utils.Random -Version 4.0.100
                    
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="4.0.100" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Random" Version="4.0.100" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.Random" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Utils.Random --version 4.0.100
                    
#r "nuget: Soenneker.Utils.Random, 4.0.100"
                    
#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.
#:package Soenneker.Utils.Random@4.0.100
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Utils.Random&version=4.0.100
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Random&version=4.0.100
                    
Install as a Cake Tool

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 net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 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.Utils.Delay

A utility library for generic time delay related operations

Soenneker.Extensions.List

A collection of helpful list extension methods

Soenneker.SignalR.Web.Client

A resilient and dependable .NET SignalR web client

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.101 0 12/15/2025
4.0.100 13,708 12/9/2025
4.0.99 45,492 11/20/2025
4.0.98 50,286 11/11/2025
4.0.97 56,081 11/3/2025
4.0.96 35,563 10/29/2025
3.0.95 65,333 10/16/2025
3.0.94 142,374 9/9/2025
3.0.93 53,849 9/3/2025
3.0.92 91,037 8/11/2025
3.0.91 66,339 8/5/2025
3.0.90 61,018 7/8/2025
3.0.89 66,447 6/27/2025
3.0.88 74,921 6/10/2025
3.0.87 49,616 5/27/2025
3.0.86 58,566 5/22/2025
3.0.85 50,160 5/13/2025
3.0.84 29,957 5/7/2025
3.0.83 49,397 5/5/2025
3.0.82 222 5/5/2025
3.0.81 71,027 4/8/2025
3.0.80 15,133 4/8/2025
3.0.79 158,404 4/5/2025
3.0.78 56,256 4/4/2025
3.0.77 277,837 3/11/2025
3.0.76 25,919 3/11/2025
3.0.75 107,582 3/1/2025
3.0.74 177,177 2/18/2025
3.0.73 51,428 2/13/2025
3.0.72 36,980 2/11/2025
3.0.71 5,311 2/11/2025
3.0.70 53,890 2/10/2025
3.0.69 81,989 2/7/2025
3.0.68 204 2/7/2025
3.0.67 124,884 1/27/2025
3.0.66 11,102 1/27/2025
3.0.65 107,794 1/23/2025
3.0.64 47,115 1/21/2025
3.0.63 54,945 1/20/2025
3.0.62 188,941 1/14/2025
3.0.61 78,733 1/10/2025
3.0.60 180 1/10/2025
3.0.59 57,502 1/2/2025
3.0.58 36,676 12/31/2024
3.0.57 9,812 12/31/2024
3.0.56 56,314 12/31/2024
3.0.55 85,294 12/24/2024
3.0.54 145,831 12/18/2024
3.0.53 41,712 12/17/2024
3.0.52 115,599 12/5/2024
3.0.51 101,770 12/2/2024
3.0.50 37,022 12/1/2024
3.0.49 83,014 11/19/2024
3.0.48 72,647 11/14/2024
2.1.47 102,167 11/8/2024
2.1.46 388,525 9/27/2024
2.1.45 105,705 9/23/2024
2.1.44 71,218 9/17/2024
2.1.43 103,293 9/11/2024
2.1.42 61,924 9/9/2024
2.1.41 79,372 9/5/2024
2.1.40 135,260 8/20/2024
2.1.39 206,740 7/9/2024
2.1.38 69,693 7/8/2024
2.1.37 4,778 7/8/2024
2.1.36 53,438 7/7/2024
2.1.35 225,561 5/25/2024
2.1.34 214 5/25/2024
2.1.33 38,510 5/22/2024
2.1.32 44,808 5/16/2024
2.1.31 89,479 4/27/2024
2.1.30 8,303 4/27/2024
2.1.29 72,634 4/12/2024
2.1.28 225 4/11/2024
2.1.27 134,006 3/13/2024
2.1.26 177,880 2/21/2024
2.1.25 12,312 2/21/2024
2.1.24 397 2/21/2024
2.1.23 135,649 2/9/2024
2.1.22 364 2/9/2024
2.1.21 60,944 2/6/2024
2.1.20 184,180 1/15/2024
2.1.19 70,073 1/5/2024
2.1.18 39,808 12/27/2023
2.1.17 452 12/27/2023
2.1.16 35,275 12/25/2023
2.1.15 495 12/25/2023
2.1.14 40,144 12/23/2023
2.1.13 456 12/23/2023
2.1.12 60,640 12/9/2023
2.1.11 2,025 12/9/2023
2.1.10 39,367 12/4/2023
2.1.9 33,538 11/23/2023
2.1.8 34,414 11/19/2023
2.1.7 577 11/18/2023
2.1.6 18,995 11/18/2023
2.1.5 13,899 11/17/2023
2.1.4 14,995 11/17/2023
2.1.3 8,831 11/16/2023
2.0.31 11,569 11/15/2023
2.0.2 490 11/16/2023
2.0.1 483 11/16/2023
1.0.30 27,461 11/8/2023
1.0.29 17,352 11/3/2023
1.0.28 16,796 11/1/2023
1.0.27 32,768 10/17/2023
1.0.26 13,678 10/13/2023
1.0.25 481 10/13/2023
1.0.24 29,069 9/18/2023
1.0.23 513 9/18/2023
1.0.22 31,312 8/29/2023
1.0.21 23,945 8/23/2023
1.0.20 21,909 8/16/2023
1.0.19 32,785 8/4/2023
1.0.18 32,510 7/7/2023
1.0.17 186,822 5/24/2023
1.0.16 2,266 5/23/2023
1.0.15 571 6/6/2023
1.0.14 5,583 5/23/2023
1.0.13 938 5/22/2023
1.0.12 35,774 5/16/2023
1.0.11 25,286 4/21/2023
1.0.10 26,404 4/11/2023
1.0.9 11,502 4/3/2023
1.0.8 1,343 4/1/2023
1.0.7 7,194 2/26/2023
1.0.6 680 2/26/2023
1.0.5 667 2/26/2023
1.0.4 667 2/26/2023
1.0.2 2,886 2/9/2023
1.0.1 604 3/31/2023