Soenneker.Utils.Random 3.0.91

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.91
                    
NuGet\Install-Package Soenneker.Utils.Random -Version 3.0.91
                    
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.91" />
                    
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.91" />
                    
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.91
                    
#r "nuget: Soenneker.Utils.Random, 3.0.91"
                    
#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.91
                    
#: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.91
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Random&version=3.0.91
                    
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 (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.104 79,617 1/13/2026
4.0.103 68,005 1/8/2026
4.0.102 94,558 1/2/2026
4.0.101 115,215 12/15/2025
4.0.100 37,690 12/9/2025
4.0.99 48,840 11/20/2025
4.0.98 51,486 11/11/2025
4.0.97 56,129 11/3/2025
4.0.96 35,597 10/29/2025
3.0.95 66,020 10/16/2025
3.0.94 142,710 9/9/2025
3.0.93 53,914 9/3/2025
3.0.92 91,831 8/11/2025
3.0.91 66,421 8/5/2025
3.0.90 64,391 7/8/2025
3.0.89 66,546 6/27/2025
3.0.88 75,177 6/10/2025
3.0.87 49,668 5/27/2025
3.0.86 58,891 5/22/2025
3.0.85 50,325 5/13/2025
3.0.84 30,049 5/7/2025
3.0.83 49,467 5/5/2025
3.0.82 245 5/5/2025
3.0.81 71,149 4/8/2025
3.0.80 15,180 4/8/2025
3.0.79 158,623 4/5/2025
3.0.78 56,369 4/4/2025
3.0.77 278,299 3/11/2025
3.0.76 25,983 3/11/2025
3.0.75 107,796 3/1/2025
3.0.74 177,486 2/18/2025
3.0.73 51,965 2/13/2025
3.0.72 37,073 2/11/2025
3.0.71 5,347 2/11/2025
3.0.70 54,029 2/10/2025
3.0.69 82,128 2/7/2025
3.0.68 234 2/7/2025
3.0.67 125,106 1/27/2025
3.0.66 11,139 1/27/2025
3.0.65 107,953 1/23/2025
3.0.64 47,193 1/21/2025
3.0.63 55,039 1/20/2025
3.0.62 189,275 1/14/2025
3.0.61 78,834 1/10/2025
3.0.60 197 1/10/2025
3.0.59 57,637 1/2/2025
3.0.58 36,770 12/31/2024
3.0.57 9,860 12/31/2024
3.0.56 56,413 12/31/2024
3.0.55 85,427 12/24/2024
3.0.54 146,063 12/18/2024
3.0.53 41,797 12/17/2024
3.0.52 115,795 12/5/2024
3.0.51 101,989 12/2/2024
3.0.50 37,104 12/1/2024
3.0.49 83,219 11/19/2024
3.0.48 72,846 11/14/2024
2.1.47 103,649 11/8/2024
2.1.46 389,523 9/27/2024
2.1.45 105,978 9/23/2024
2.1.44 71,483 9/17/2024
2.1.43 103,554 9/11/2024
2.1.42 62,034 9/9/2024
2.1.41 79,540 9/5/2024
2.1.40 135,683 8/20/2024
2.1.39 207,409 7/9/2024
2.1.38 70,670 7/8/2024
2.1.37 4,809 7/8/2024
2.1.36 53,621 7/7/2024
2.1.35 226,202 5/25/2024
2.1.34 228 5/25/2024
2.1.33 38,642 5/22/2024
2.1.32 44,923 5/16/2024
2.1.31 89,726 4/27/2024
2.1.30 8,348 4/27/2024
2.1.29 72,793 4/12/2024
2.1.28 261 4/11/2024
2.1.27 134,589 3/13/2024
2.1.26 178,402 2/21/2024
2.1.25 12,398 2/21/2024
2.1.24 420 2/21/2024
2.1.23 136,117 2/9/2024
2.1.22 385 2/9/2024
2.1.21 61,120 2/6/2024
2.1.20 184,590 1/15/2024
2.1.19 70,339 1/5/2024
2.1.18 39,935 12/27/2023
2.1.17 494 12/27/2023
2.1.16 35,403 12/25/2023
2.1.15 517 12/25/2023
2.1.14 40,287 12/23/2023
2.1.13 473 12/23/2023
2.1.12 60,859 12/9/2023
2.1.11 2,046 12/9/2023
2.1.10 39,518 12/4/2023
2.1.9 33,671 11/23/2023
2.1.8 34,512 11/19/2023
2.1.7 596 11/18/2023
2.1.6 19,080 11/18/2023
2.1.5 13,939 11/17/2023
2.1.4 15,082 11/17/2023
2.1.3 8,889 11/16/2023
2.0.31 11,597 11/15/2023
2.0.2 512 11/16/2023
2.0.1 501 11/16/2023
1.0.30 27,530 11/8/2023
1.0.29 17,433 11/3/2023
1.0.28 16,881 11/1/2023
1.0.27 32,878 10/17/2023
1.0.26 13,740 10/13/2023
1.0.25 503 10/13/2023
1.0.24 29,174 9/18/2023
1.0.23 523 9/18/2023
1.0.22 31,433 8/29/2023
1.0.21 24,018 8/23/2023
1.0.20 22,007 8/16/2023
1.0.19 32,889 8/4/2023
1.0.18 32,593 7/7/2023
1.0.17 187,184 5/24/2023
1.0.16 2,285 5/23/2023
1.0.15 587 6/6/2023
1.0.14 5,601 5/23/2023
1.0.13 957 5/22/2023
1.0.12 35,827 5/16/2023
1.0.11 25,325 4/21/2023
1.0.10 26,471 4/11/2023
1.0.9 11,535 4/3/2023
1.0.8 1,371 4/1/2023
1.0.7 7,228 2/26/2023
1.0.6 699 2/26/2023
1.0.5 682 2/26/2023
1.0.4 683 2/26/2023
1.0.2 2,906 2/9/2023
1.0.1 620 3/31/2023