Soenneker.Utils.Random 4.0.100

Prefix Reserved
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.100 5,199 12/9/2025
4.0.99 42,002 11/20/2025
4.0.98 50,249 11/11/2025
4.0.97 56,075 11/3/2025
4.0.96 35,559 10/29/2025
3.0.95 65,271 10/16/2025
3.0.94 142,332 9/9/2025
3.0.93 53,843 9/3/2025
3.0.92 91,006 8/11/2025
3.0.91 66,327 8/5/2025
3.0.90 60,781 7/8/2025
3.0.89 66,445 6/27/2025
3.0.88 74,895 6/10/2025
3.0.87 49,615 5/27/2025
3.0.86 58,548 5/22/2025
3.0.85 50,154 5/13/2025
3.0.84 29,953 5/7/2025
3.0.83 49,396 5/5/2025
3.0.82 221 5/5/2025
3.0.81 71,018 4/8/2025
3.0.80 15,130 4/8/2025
3.0.79 158,395 4/5/2025
3.0.78 56,252 4/4/2025
3.0.77 277,831 3/11/2025
3.0.76 25,912 3/11/2025
3.0.75 107,577 3/1/2025
3.0.74 177,173 2/18/2025
3.0.73 51,363 2/13/2025
3.0.72 36,979 2/11/2025
3.0.71 5,303 2/11/2025
3.0.70 53,883 2/10/2025
3.0.69 81,982 2/7/2025
3.0.68 203 2/7/2025
3.0.67 124,877 1/27/2025
3.0.66 11,101 1/27/2025
3.0.65 107,787 1/23/2025
3.0.64 47,107 1/21/2025
3.0.63 54,943 1/20/2025
3.0.62 188,918 1/14/2025
3.0.61 78,728 1/10/2025
3.0.60 179 1/10/2025
3.0.59 57,501 1/2/2025
3.0.58 36,672 12/31/2024
3.0.57 9,809 12/31/2024
3.0.56 56,313 12/31/2024
3.0.55 85,287 12/24/2024
3.0.54 145,817 12/18/2024
3.0.53 41,710 12/17/2024
3.0.52 115,592 12/5/2024
3.0.51 101,766 12/2/2024
3.0.50 37,020 12/1/2024
3.0.49 83,008 11/19/2024
3.0.48 72,640 11/14/2024
2.1.47 102,092 11/8/2024
2.1.46 388,486 9/27/2024
2.1.45 105,697 9/23/2024
2.1.44 71,216 9/17/2024
2.1.43 103,288 9/11/2024
2.1.42 61,908 9/9/2024
2.1.41 79,367 9/5/2024
2.1.40 135,241 8/20/2024
2.1.39 206,721 7/9/2024
2.1.38 69,609 7/8/2024
2.1.37 4,777 7/8/2024
2.1.36 53,429 7/7/2024
2.1.35 225,526 5/25/2024
2.1.34 213 5/25/2024
2.1.33 38,505 5/22/2024
2.1.32 44,801 5/16/2024
2.1.31 89,471 4/27/2024
2.1.30 8,303 4/27/2024
2.1.29 72,626 4/12/2024
2.1.28 225 4/11/2024
2.1.27 133,964 3/13/2024
2.1.26 177,841 2/21/2024
2.1.25 12,312 2/21/2024
2.1.24 396 2/21/2024
2.1.23 135,645 2/9/2024
2.1.22 364 2/9/2024
2.1.21 60,939 2/6/2024
2.1.20 184,142 1/15/2024
2.1.19 70,072 1/5/2024
2.1.18 39,804 12/27/2023
2.1.17 451 12/27/2023
2.1.16 35,271 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,636 12/9/2023
2.1.11 2,025 12/9/2023
2.1.10 39,366 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,898 11/17/2023
2.1.4 14,994 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,456 11/8/2023
1.0.29 17,347 11/3/2023
1.0.28 16,791 11/1/2023
1.0.27 32,768 10/17/2023
1.0.26 13,678 10/13/2023
1.0.25 480 10/13/2023
1.0.24 29,069 9/18/2023
1.0.23 513 9/18/2023
1.0.22 31,307 8/29/2023
1.0.21 23,939 8/23/2023
1.0.20 21,909 8/16/2023
1.0.19 32,780 8/4/2023
1.0.18 32,510 7/7/2023
1.0.17 186,819 5/24/2023
1.0.16 2,262 5/23/2023
1.0.15 568 6/6/2023
1.0.14 5,580 5/23/2023
1.0.13 935 5/22/2023
1.0.12 35,761 5/16/2023
1.0.11 25,283 4/21/2023
1.0.10 26,401 4/11/2023
1.0.9 11,499 4/3/2023
1.0.8 1,339 4/1/2023
1.0.7 7,190 2/26/2023
1.0.6 676 2/26/2023
1.0.5 664 2/26/2023
1.0.4 664 2/26/2023
1.0.2 2,883 2/9/2023
1.0.1 600 3/31/2023