Soenneker.Utils.Random
4.0.98
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Utils.Random --version 4.0.98
NuGet\Install-Package Soenneker.Utils.Random -Version 4.0.98
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.98" />
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.98" />
<PackageReference Include="Soenneker.Utils.Random" />
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.98
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Random, 4.0.98"
#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.98
#: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.98
#tool nuget:?package=Soenneker.Utils.Random&version=4.0.98
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
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.99 | 32,299 | 11/20/2025 |
| 4.0.98 | 50,117 | 11/11/2025 |
| 4.0.97 | 56,069 | 11/3/2025 |
| 4.0.96 | 35,553 | 10/29/2025 |
| 3.0.95 | 65,184 | 10/16/2025 |
| 3.0.94 | 142,296 | 9/9/2025 |
| 3.0.93 | 53,833 | 9/3/2025 |
| 3.0.92 | 90,977 | 8/11/2025 |
| 3.0.91 | 66,321 | 8/5/2025 |
| 3.0.90 | 60,460 | 7/8/2025 |
| 3.0.89 | 66,439 | 6/27/2025 |
| 3.0.88 | 74,822 | 6/10/2025 |
| 3.0.87 | 49,612 | 5/27/2025 |
| 3.0.86 | 58,508 | 5/22/2025 |
| 3.0.85 | 50,152 | 5/13/2025 |
| 3.0.84 | 29,933 | 5/7/2025 |
| 3.0.83 | 49,386 | 5/5/2025 |
| 3.0.82 | 218 | 5/5/2025 |
| 3.0.81 | 70,997 | 4/8/2025 |
| 3.0.80 | 15,128 | 4/8/2025 |
| 3.0.79 | 158,363 | 4/5/2025 |
| 3.0.78 | 56,239 | 4/4/2025 |
| 3.0.77 | 277,789 | 3/11/2025 |
| 3.0.76 | 25,910 | 3/11/2025 |
| 3.0.75 | 107,566 | 3/1/2025 |
| 3.0.74 | 177,131 | 2/18/2025 |
| 3.0.73 | 51,299 | 2/13/2025 |
| 3.0.72 | 36,965 | 2/11/2025 |
| 3.0.71 | 5,296 | 2/11/2025 |
| 3.0.70 | 53,852 | 2/10/2025 |
| 3.0.69 | 81,965 | 2/7/2025 |
| 3.0.68 | 201 | 2/7/2025 |
| 3.0.67 | 124,869 | 1/27/2025 |
| 3.0.66 | 11,089 | 1/27/2025 |
| 3.0.65 | 107,762 | 1/23/2025 |
| 3.0.64 | 47,102 | 1/21/2025 |
| 3.0.63 | 54,939 | 1/20/2025 |
| 3.0.62 | 188,893 | 1/14/2025 |
| 3.0.61 | 78,712 | 1/10/2025 |
| 3.0.60 | 177 | 1/10/2025 |
| 3.0.59 | 57,492 | 1/2/2025 |
| 3.0.58 | 36,665 | 12/31/2024 |
| 3.0.57 | 9,802 | 12/31/2024 |
| 3.0.56 | 56,302 | 12/31/2024 |
| 3.0.55 | 85,275 | 12/24/2024 |
| 3.0.54 | 145,792 | 12/18/2024 |
| 3.0.53 | 41,694 | 12/17/2024 |
| 3.0.52 | 115,567 | 12/5/2024 |
| 3.0.51 | 101,739 | 12/2/2024 |
| 3.0.50 | 37,008 | 12/1/2024 |
| 3.0.49 | 82,962 | 11/19/2024 |
| 3.0.48 | 72,627 | 11/14/2024 |
| 2.1.47 | 102,017 | 11/8/2024 |
| 2.1.46 | 388,395 | 9/27/2024 |
| 2.1.45 | 105,651 | 9/23/2024 |
| 2.1.44 | 71,188 | 9/17/2024 |
| 2.1.43 | 103,261 | 9/11/2024 |
| 2.1.42 | 61,898 | 9/9/2024 |
| 2.1.41 | 79,349 | 9/5/2024 |
| 2.1.40 | 135,202 | 8/20/2024 |
| 2.1.39 | 206,671 | 7/9/2024 |
| 2.1.38 | 69,468 | 7/8/2024 |
| 2.1.37 | 4,773 | 7/8/2024 |
| 2.1.36 | 53,393 | 7/7/2024 |
| 2.1.35 | 225,485 | 5/25/2024 |
| 2.1.34 | 211 | 5/25/2024 |
| 2.1.33 | 38,495 | 5/22/2024 |
| 2.1.32 | 44,792 | 5/16/2024 |
| 2.1.31 | 89,457 | 4/27/2024 |
| 2.1.30 | 8,300 | 4/27/2024 |
| 2.1.29 | 72,600 | 4/12/2024 |
| 2.1.28 | 221 | 4/11/2024 |
| 2.1.27 | 133,915 | 3/13/2024 |
| 2.1.26 | 177,778 | 2/21/2024 |
| 2.1.25 | 12,304 | 2/21/2024 |
| 2.1.24 | 391 | 2/21/2024 |
| 2.1.23 | 135,605 | 2/9/2024 |
| 2.1.22 | 361 | 2/9/2024 |
| 2.1.21 | 60,934 | 2/6/2024 |
| 2.1.20 | 184,070 | 1/15/2024 |
| 2.1.19 | 70,037 | 1/5/2024 |
| 2.1.18 | 39,796 | 12/27/2023 |
| 2.1.17 | 447 | 12/27/2023 |
| 2.1.16 | 35,266 | 12/25/2023 |
| 2.1.15 | 493 | 12/25/2023 |
| 2.1.14 | 40,126 | 12/23/2023 |
| 2.1.13 | 451 | 12/23/2023 |
| 2.1.12 | 60,621 | 12/9/2023 |
| 2.1.11 | 2,022 | 12/9/2023 |
| 2.1.10 | 39,357 | 12/4/2023 |
| 2.1.9 | 33,533 | 11/23/2023 |
| 2.1.8 | 34,406 | 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,987 | 11/17/2023 |
| 2.1.3 | 8,826 | 11/16/2023 |
| 2.0.31 | 11,553 | 11/15/2023 |
| 2.0.2 | 487 | 11/16/2023 |
| 2.0.1 | 482 | 11/16/2023 |
| 1.0.30 | 27,447 | 11/8/2023 |
| 1.0.29 | 17,332 | 11/3/2023 |
| 1.0.28 | 16,791 | 11/1/2023 |
| 1.0.27 | 32,752 | 10/17/2023 |
| 1.0.26 | 13,669 | 10/13/2023 |
| 1.0.25 | 480 | 10/13/2023 |
| 1.0.24 | 29,056 | 9/18/2023 |
| 1.0.23 | 511 | 9/18/2023 |
| 1.0.22 | 31,307 | 8/29/2023 |
| 1.0.21 | 23,935 | 8/23/2023 |
| 1.0.20 | 21,894 | 8/16/2023 |
| 1.0.19 | 32,760 | 8/4/2023 |
| 1.0.18 | 32,496 | 7/7/2023 |
| 1.0.17 | 186,811 | 5/24/2023 |
| 1.0.16 | 2,261 | 5/23/2023 |
| 1.0.15 | 568 | 6/6/2023 |
| 1.0.14 | 5,580 | 5/23/2023 |
| 1.0.13 | 934 | 5/22/2023 |
| 1.0.12 | 35,757 | 5/16/2023 |
| 1.0.11 | 25,283 | 4/21/2023 |
| 1.0.10 | 26,400 | 4/11/2023 |
| 1.0.9 | 11,490 | 4/3/2023 |
| 1.0.8 | 1,329 | 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 |