Soenneker.Utils.Random
4.0.102
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.102
NuGet\Install-Package Soenneker.Utils.Random -Version 4.0.102
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.102" />
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.102" />
<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.102
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Random, 4.0.102"
#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.102
#: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.102
#tool nuget:?package=Soenneker.Utils.Random&version=4.0.102
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.1)
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.105 | 21,274 | 2/10/2026 |
| 4.0.104 | 127,701 | 1/13/2026 |
| 4.0.103 | 68,142 | 1/8/2026 |
| 4.0.102 | 94,652 | 1/2/2026 |
| 4.0.101 | 117,165 | 12/15/2025 |
| 4.0.100 | 37,701 | 12/9/2025 |
| 4.0.99 | 48,854 | 11/20/2025 |
| 4.0.98 | 51,702 | 11/11/2025 |
| 4.0.97 | 56,137 | 11/3/2025 |
| 4.0.96 | 35,607 | 10/29/2025 |
| 3.0.95 | 66,244 | 10/16/2025 |
| 3.0.94 | 142,836 | 9/9/2025 |
| 3.0.93 | 53,937 | 9/3/2025 |
| 3.0.92 | 92,163 | 8/11/2025 |
| 3.0.91 | 66,445 | 8/5/2025 |
| 3.0.90 | 65,550 | 7/8/2025 |
| 3.0.89 | 66,572 | 6/27/2025 |
| 3.0.88 | 75,216 | 6/10/2025 |
| 3.0.87 | 49,685 | 5/27/2025 |
| 3.0.86 | 58,937 | 5/22/2025 |
Loading failed