Soenneker.Utils.Random 3.0.73

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.73
                    
NuGet\Install-Package Soenneker.Utils.Random -Version 3.0.73
                    
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.73" />
                    
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.73" />
                    
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.73
                    
#r "nuget: Soenneker.Utils.Random, 3.0.73"
                    
#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.73
                    
#: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.73
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Random&version=3.0.73
                    
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 (9)

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.SignalR.Web.Client

A resilient and dependable .NET SignalR web client

Soenneker.Utils.Delay

A utility library for generic time delay related operations

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.91 0 8/5/2025
3.0.90 17,091 7/8/2025
3.0.89 44,242 6/27/2025
3.0.88 47,626 6/10/2025
3.0.87 33,169 5/27/2025
3.0.86 37,168 5/22/2025
3.0.85 32,133 5/13/2025
3.0.84 19,454 5/7/2025
3.0.83 32,096 5/5/2025
3.0.82 153 5/5/2025
3.0.81 46,174 4/8/2025
3.0.80 9,323 4/8/2025
3.0.79 96,729 4/5/2025
3.0.78 36,916 4/4/2025
3.0.77 166,514 3/11/2025
3.0.76 15,815 3/11/2025
3.0.75 62,502 3/1/2025
3.0.74 106,786 2/18/2025
3.0.73 30,156 2/13/2025
3.0.72 22,395 2/11/2025
3.0.71 3,594 2/11/2025
3.0.70 32,363 2/10/2025
3.0.69 49,118 2/7/2025
3.0.68 127 2/7/2025
3.0.67 73,073 1/27/2025
3.0.66 7,130 1/27/2025
3.0.65 60,654 1/23/2025
3.0.64 26,615 1/21/2025
3.0.63 31,544 1/20/2025
3.0.62 104,777 1/14/2025
3.0.61 42,305 1/10/2025
3.0.60 112 1/10/2025
3.0.59 33,221 1/2/2025
3.0.58 20,689 12/31/2024
3.0.57 5,037 12/31/2024
3.0.56 31,380 12/31/2024
3.0.55 48,696 12/24/2024
3.0.54 83,623 12/18/2024
3.0.53 23,852 12/17/2024
3.0.52 66,286 12/5/2024
3.0.51 58,291 12/2/2024
3.0.50 21,459 12/1/2024
3.0.49 47,419 11/19/2024
3.0.48 42,570 11/14/2024
2.1.47 61,204 11/8/2024
2.1.46 231,760 9/27/2024
2.1.45 63,969 9/23/2024
2.1.44 43,975 9/17/2024
2.1.43 66,104 9/11/2024
2.1.42 40,366 9/9/2024
2.1.41 50,658 9/5/2024
2.1.40 84,592 8/20/2024
2.1.39 125,212 7/9/2024
2.1.38 44,215 7/8/2024
2.1.37 2,950 7/8/2024
2.1.36 32,507 7/7/2024
2.1.35 137,685 5/25/2024
2.1.34 150 5/25/2024
2.1.33 24,157 5/22/2024
2.1.32 27,988 5/16/2024
2.1.31 54,952 4/27/2024
2.1.30 5,915 4/27/2024
2.1.29 45,433 4/12/2024
2.1.28 160 4/11/2024
2.1.27 85,064 3/13/2024
2.1.26 114,198 2/21/2024
2.1.25 8,306 2/21/2024
2.1.24 320 2/21/2024
2.1.23 90,421 2/9/2024
2.1.22 305 2/9/2024
2.1.21 40,905 2/6/2024
2.1.20 125,394 1/15/2024
2.1.19 49,334 1/5/2024
2.1.18 28,172 12/27/2023
2.1.17 387 12/27/2023
2.1.16 24,753 12/25/2023
2.1.15 429 12/25/2023
2.1.14 28,350 12/23/2023
2.1.13 388 12/23/2023
2.1.12 42,967 12/9/2023
2.1.11 1,624 12/9/2023
2.1.10 27,663 12/4/2023
2.1.9 23,176 11/23/2023
2.1.8 23,540 11/19/2023
2.1.7 469 11/18/2023
2.1.6 13,413 11/18/2023
2.1.5 9,857 11/17/2023
2.1.4 10,399 11/17/2023
2.1.3 5,968 11/16/2023
2.0.31 8,147 11/15/2023
2.0.2 435 11/16/2023
2.0.1 427 11/16/2023
1.0.30 19,521 11/8/2023
1.0.29 12,907 11/3/2023
1.0.28 12,650 11/1/2023
1.0.27 24,434 10/17/2023
1.0.26 10,372 10/13/2023
1.0.25 428 10/13/2023
1.0.24 21,937 9/18/2023
1.0.23 467 9/18/2023
1.0.22 23,927 8/29/2023
1.0.21 18,145 8/23/2023
1.0.20 16,856 8/16/2023
1.0.19 25,517 8/4/2023
1.0.18 25,429 7/7/2023
1.0.17 149,406 5/24/2023
1.0.16 1,855 5/23/2023
1.0.15 498 6/6/2023
1.0.14 4,707 5/23/2023
1.0.13 769 5/22/2023
1.0.12 29,899 5/16/2023
1.0.11 21,083 4/21/2023
1.0.10 21,950 4/11/2023
1.0.9 9,560 4/3/2023
1.0.8 1,150 4/1/2023
1.0.7 6,259 2/26/2023
1.0.6 597 2/26/2023
1.0.5 581 2/26/2023
1.0.4 587 2/26/2023
1.0.2 2,585 2/9/2023
1.0.1 522 3/31/2023