Soenneker.Utils.Random 3.0.94

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 3.0.94
                    
NuGet\Install-Package Soenneker.Utils.Random -Version 3.0.94
                    
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="3.0.94" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Random" Version="3.0.94" />
                    
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 3.0.94
                    
#r "nuget: Soenneker.Utils.Random, 3.0.94"
                    
#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@3.0.94
                    
#: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=3.0.94
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Random&version=3.0.94
                    
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 net9.0 is compatible.  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.  net10.0 was computed.  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.Extensions.List

A collection of helpful list extension methods

Soenneker.Utils.Delay

A utility library for generic time delay related operations

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 0 12/9/2025
4.0.99 33,302 11/20/2025
4.0.98 50,166 11/11/2025
4.0.97 56,073 11/3/2025
4.0.96 35,559 10/29/2025
3.0.95 65,224 10/16/2025
3.0.94 142,315 9/9/2025
3.0.93 53,840 9/3/2025
3.0.92 90,991 8/11/2025
3.0.91 66,327 8/5/2025
3.0.90 60,622 7/8/2025
3.0.89 66,444 6/27/2025
3.0.88 74,862 6/10/2025
3.0.87 49,615 5/27/2025
3.0.86 58,532 5/22/2025
3.0.85 50,154 5/13/2025
3.0.84 29,937 5/7/2025
3.0.83 49,390 5/5/2025
3.0.82 221 5/5/2025
3.0.81 71,006 4/8/2025
3.0.80 15,130 4/8/2025
3.0.79 158,384 4/5/2025
3.0.78 56,252 4/4/2025
3.0.77 277,814 3/11/2025
3.0.76 25,912 3/11/2025
3.0.75 107,571 3/1/2025
3.0.74 177,148 2/18/2025
3.0.73 51,332 2/13/2025
3.0.72 36,972 2/11/2025
3.0.71 5,300 2/11/2025
3.0.70 53,860 2/10/2025
3.0.69 81,972 2/7/2025
3.0.68 203 2/7/2025
3.0.67 124,871 1/27/2025
3.0.66 11,091 1/27/2025
3.0.65 107,772 1/23/2025
3.0.64 47,107 1/21/2025
3.0.63 54,941 1/20/2025
3.0.62 188,909 1/14/2025
3.0.61 78,719 1/10/2025
3.0.60 179 1/10/2025
3.0.59 57,499 1/2/2025
3.0.58 36,667 12/31/2024
3.0.57 9,804 12/31/2024
3.0.56 56,304 12/31/2024
3.0.55 85,281 12/24/2024
3.0.54 145,805 12/18/2024
3.0.53 41,704 12/17/2024
3.0.52 115,584 12/5/2024
3.0.51 101,753 12/2/2024
3.0.50 37,012 12/1/2024
3.0.49 82,996 11/19/2024
3.0.48 72,632 11/14/2024
2.1.47 102,054 11/8/2024
2.1.46 388,435 9/27/2024
2.1.45 105,666 9/23/2024
2.1.44 71,201 9/17/2024
2.1.43 103,278 9/11/2024
2.1.42 61,908 9/9/2024
2.1.41 79,362 9/5/2024
2.1.40 135,223 8/20/2024
2.1.39 206,688 7/9/2024
2.1.38 69,520 7/8/2024
2.1.37 4,777 7/8/2024
2.1.36 53,414 7/7/2024
2.1.35 225,503 5/25/2024
2.1.34 213 5/25/2024
2.1.33 38,497 5/22/2024
2.1.32 44,796 5/16/2024
2.1.31 89,463 4/27/2024
2.1.30 8,302 4/27/2024
2.1.29 72,614 4/12/2024
2.1.28 224 4/11/2024
2.1.27 133,939 3/13/2024
2.1.26 177,813 2/21/2024
2.1.25 12,311 2/21/2024
2.1.24 395 2/21/2024
2.1.23 135,625 2/9/2024
2.1.22 364 2/9/2024
2.1.21 60,939 2/6/2024
2.1.20 184,116 1/15/2024
2.1.19 70,055 1/5/2024
2.1.18 39,798 12/27/2023
2.1.17 449 12/27/2023
2.1.16 35,268 12/25/2023
2.1.15 495 12/25/2023
2.1.14 40,136 12/23/2023
2.1.13 454 12/23/2023
2.1.12 60,631 12/9/2023
2.1.11 2,024 12/9/2023
2.1.10 39,361 12/4/2023
2.1.9 33,533 11/23/2023
2.1.8 34,410 11/19/2023
2.1.7 576 11/18/2023
2.1.6 18,987 11/18/2023
2.1.5 13,897 11/17/2023
2.1.4 14,989 11/17/2023
2.1.3 8,830 11/16/2023
2.0.31 11,559 11/15/2023
2.0.2 489 11/16/2023
2.0.1 482 11/16/2023
1.0.30 27,454 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,899 8/16/2023
1.0.19 32,766 8/4/2023
1.0.18 32,501 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,757 5/16/2023
1.0.11 25,283 4/21/2023
1.0.10 26,401 4/11/2023
1.0.9 11,490 4/3/2023
1.0.8 1,330 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