Soenneker.Utils.Random
3.0.95
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 3.0.95
NuGet\Install-Package Soenneker.Utils.Random -Version 3.0.95
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.95" />
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.95" />
<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 3.0.95
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Random, 3.0.95"
#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.95
#: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.95
#tool nuget:?package=Soenneker.Utils.Random&version=3.0.95
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 | 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.
-
net9.0
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.10)
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.97 | 5,979 | 11/3/2025 |
| 4.0.96 | 21,724 | 10/29/2025 |
| 3.0.95 | 58,457 | 10/16/2025 |
| 3.0.94 | 141,663 | 9/9/2025 |
| 3.0.93 | 53,601 | 9/3/2025 |
| 3.0.92 | 90,418 | 8/11/2025 |
| 3.0.91 | 66,086 | 8/5/2025 |
| 3.0.90 | 58,371 | 7/8/2025 |
| 3.0.89 | 66,229 | 6/27/2025 |
| 3.0.88 | 74,321 | 6/10/2025 |
| 3.0.87 | 49,531 | 5/27/2025 |
| 3.0.86 | 58,315 | 5/22/2025 |
| 3.0.85 | 49,922 | 5/13/2025 |
| 3.0.84 | 29,805 | 5/7/2025 |
| 3.0.83 | 49,263 | 5/5/2025 |
| 3.0.82 | 207 | 5/5/2025 |
| 3.0.81 | 70,747 | 4/8/2025 |
| 3.0.80 | 15,091 | 4/8/2025 |
| 3.0.79 | 158,009 | 4/5/2025 |
| 3.0.78 | 56,140 | 4/4/2025 |
| 3.0.77 | 276,849 | 3/11/2025 |
| 3.0.76 | 25,806 | 3/11/2025 |
| 3.0.75 | 107,108 | 3/1/2025 |
| 3.0.74 | 176,379 | 2/18/2025 |
| 3.0.73 | 50,949 | 2/13/2025 |
| 3.0.72 | 36,770 | 2/11/2025 |
| 3.0.71 | 5,277 | 2/11/2025 |
| 3.0.70 | 53,644 | 2/10/2025 |
| 3.0.69 | 81,652 | 2/7/2025 |
| 3.0.68 | 190 | 2/7/2025 |
| 3.0.67 | 124,439 | 1/27/2025 |
| 3.0.66 | 11,025 | 1/27/2025 |
| 3.0.65 | 107,337 | 1/23/2025 |
| 3.0.64 | 46,917 | 1/21/2025 |
| 3.0.63 | 54,749 | 1/20/2025 |
| 3.0.62 | 188,221 | 1/14/2025 |
| 3.0.61 | 78,321 | 1/10/2025 |
| 3.0.60 | 169 | 1/10/2025 |
| 3.0.59 | 57,263 | 1/2/2025 |
| 3.0.58 | 36,533 | 12/31/2024 |
| 3.0.57 | 9,724 | 12/31/2024 |
| 3.0.56 | 56,078 | 12/31/2024 |
| 3.0.55 | 84,919 | 12/24/2024 |
| 3.0.54 | 145,356 | 12/18/2024 |
| 3.0.53 | 41,397 | 12/17/2024 |
| 3.0.52 | 115,227 | 12/5/2024 |
| 3.0.51 | 101,351 | 12/2/2024 |
| 3.0.50 | 36,853 | 12/1/2024 |
| 3.0.49 | 81,854 | 11/19/2024 |
| 3.0.48 | 72,344 | 11/14/2024 |
| 2.1.47 | 101,157 | 11/8/2024 |
| 2.1.46 | 387,263 | 9/27/2024 |
| 2.1.45 | 105,287 | 9/23/2024 |
| 2.1.44 | 71,027 | 9/17/2024 |
| 2.1.43 | 103,072 | 9/11/2024 |
| 2.1.42 | 61,782 | 9/9/2024 |
| 2.1.41 | 79,217 | 9/5/2024 |
| 2.1.40 | 134,964 | 8/20/2024 |
| 2.1.39 | 206,146 | 7/9/2024 |
| 2.1.38 | 68,450 | 7/8/2024 |
| 2.1.37 | 4,752 | 7/8/2024 |
| 2.1.36 | 53,296 | 7/7/2024 |
| 2.1.35 | 224,971 | 5/25/2024 |
| 2.1.34 | 202 | 5/25/2024 |
| 2.1.33 | 38,428 | 5/22/2024 |
| 2.1.32 | 44,664 | 5/16/2024 |
| 2.1.31 | 89,232 | 4/27/2024 |
| 2.1.30 | 8,270 | 4/27/2024 |
| 2.1.29 | 72,474 | 4/12/2024 |
| 2.1.28 | 214 | 4/11/2024 |
| 2.1.27 | 133,429 | 3/13/2024 |
| 2.1.26 | 177,449 | 2/21/2024 |
| 2.1.25 | 12,279 | 2/21/2024 |
| 2.1.24 | 375 | 2/21/2024 |
| 2.1.23 | 135,301 | 2/9/2024 |
| 2.1.22 | 353 | 2/9/2024 |
| 2.1.21 | 60,757 | 2/6/2024 |
| 2.1.20 | 183,738 | 1/15/2024 |
| 2.1.19 | 69,931 | 1/5/2024 |
| 2.1.18 | 39,751 | 12/27/2023 |
| 2.1.17 | 437 | 12/27/2023 |
| 2.1.16 | 35,173 | 12/25/2023 |
| 2.1.15 | 485 | 12/25/2023 |
| 2.1.14 | 40,062 | 12/23/2023 |
| 2.1.13 | 443 | 12/23/2023 |
| 2.1.12 | 60,512 | 12/9/2023 |
| 2.1.11 | 2,009 | 12/9/2023 |
| 2.1.10 | 39,273 | 12/4/2023 |
| 2.1.9 | 33,440 | 11/23/2023 |
| 2.1.8 | 34,332 | 11/19/2023 |
| 2.1.7 | 567 | 11/18/2023 |
| 2.1.6 | 18,945 | 11/18/2023 |
| 2.1.5 | 13,872 | 11/17/2023 |
| 2.1.4 | 14,945 | 11/17/2023 |
| 2.1.3 | 8,803 | 11/16/2023 |
| 2.0.31 | 11,535 | 11/15/2023 |
| 2.0.2 | 478 | 11/16/2023 |
| 2.0.1 | 475 | 11/16/2023 |
| 1.0.30 | 27,389 | 11/8/2023 |
| 1.0.29 | 17,299 | 11/3/2023 |
| 1.0.28 | 16,759 | 11/1/2023 |
| 1.0.27 | 32,668 | 10/17/2023 |
| 1.0.26 | 13,640 | 10/13/2023 |
| 1.0.25 | 473 | 10/13/2023 |
| 1.0.24 | 29,023 | 9/18/2023 |
| 1.0.23 | 505 | 9/18/2023 |
| 1.0.22 | 31,258 | 8/29/2023 |
| 1.0.21 | 23,894 | 8/23/2023 |
| 1.0.20 | 21,856 | 8/16/2023 |
| 1.0.19 | 32,729 | 8/4/2023 |
| 1.0.18 | 32,464 | 7/7/2023 |
| 1.0.17 | 186,668 | 5/24/2023 |
| 1.0.16 | 2,244 | 5/23/2023 |
| 1.0.15 | 558 | 6/6/2023 |
| 1.0.14 | 5,568 | 5/23/2023 |
| 1.0.13 | 923 | 5/22/2023 |
| 1.0.12 | 35,721 | 5/16/2023 |
| 1.0.11 | 25,264 | 4/21/2023 |
| 1.0.10 | 26,354 | 4/11/2023 |
| 1.0.9 | 11,459 | 4/3/2023 |
| 1.0.8 | 1,300 | 4/1/2023 |
| 1.0.7 | 7,179 | 2/26/2023 |
| 1.0.6 | 661 | 2/26/2023 |
| 1.0.5 | 653 | 2/26/2023 |
| 1.0.4 | 649 | 2/26/2023 |
| 1.0.2 | 2,865 | 2/9/2023 |
| 1.0.1 | 587 | 3/31/2023 |