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 (7)
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.117 | 2,894 | 4/21/2026 |
| 4.0.116 | 48,817 | 4/14/2026 |
| 4.0.115 | 168,430 | 3/12/2026 |
| 4.0.110 | 106,776 | 3/10/2026 |
| 4.0.109 | 97 | 3/10/2026 |
| 4.0.108 | 64,468 | 3/9/2026 |
| 4.0.107 | 3,021 | 3/9/2026 |
| 4.0.106 | 118,495 | 3/4/2026 |
| 4.0.105 | 194,786 | 2/10/2026 |
| 4.0.104 | 134,106 | 1/13/2026 |
| 4.0.103 | 68,538 | 1/8/2026 |
| 4.0.102 | 94,946 | 1/2/2026 |
| 4.0.101 | 126,605 | 12/15/2025 |
| 4.0.100 | 37,768 | 12/9/2025 |
| 4.0.99 | 48,938 | 11/20/2025 |
| 4.0.98 | 53,260 | 11/11/2025 |
| 4.0.97 | 56,186 | 11/3/2025 |
| 4.0.96 | 35,653 | 10/29/2025 |
| 3.0.95 | 68,233 | 10/16/2025 |
| 3.0.94 | 143,084 | 9/9/2025 |
Loading failed