Enigmatry.Entry.Randomness 9.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Enigmatry.Entry.Randomness --version 9.5.0
                    
NuGet\Install-Package Enigmatry.Entry.Randomness -Version 9.5.0
                    
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="Enigmatry.Entry.Randomness" Version="9.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Enigmatry.Entry.Randomness" Version="9.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Enigmatry.Entry.Randomness" />
                    
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 Enigmatry.Entry.Randomness --version 9.5.0
                    
#r "nuget: Enigmatry.Entry.Randomness, 9.5.0"
                    
#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 Enigmatry.Entry.Randomness@9.5.0
                    
#: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=Enigmatry.Entry.Randomness&version=9.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Enigmatry.Entry.Randomness&version=9.5.0
                    
Install as a Cake Tool

Randomness Library

A utility library that provides methods for generating random data, useful for testing and data generation scenarios.

Intended Usage

Use this library when you need to generate random test data, create dummy content, or simulate randomized behavior in your applications.

Installation

Add the package to your project:

dotnet add package Enigmatry.Entry.Randomness

Usage Example

using Enigmatry.Entry.Randomness;

// Generate a random string
string randomString = RandomGenerator.String(10);

// Generate a random integer within a range
int randomInt = RandomGenerator.Integer(1, 100);

// Generate a random date
DateTime randomDate = RandomGenerator.Date();

// Generate a random boolean
bool randomBool = RandomGenerator.Boolean();

// Generate a random item from a collection
var items = new[] { "apple", "banana", "orange" };
string randomItem = RandomGenerator.ItemFrom(items);
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.2.2 86 4/27/2026
10.2.1-preview.1 48 4/27/2026
10.1.0 137 4/16/2026
10.0.1-preview.2 44 4/16/2026
10.0.0 102 4/2/2026
9.6.0 311 3/18/2026
9.5.0 531 1/26/2026
9.4.0 228 12/22/2025
9.3.1-preview.3 236 12/18/2025
9.3.1-preview.1 168 11/25/2025
9.3.0 322 11/10/2025
9.2.0 806 9/24/2025
9.1.1-preview.5 213 8/8/2025
9.1.1-preview.4 125 6/27/2025
9.1.1-preview.3 171 6/4/2025
9.1.0 275 6/3/2025
9.0.1-preview.8 162 5/26/2025
8.3.1-preview.1 140 12/24/2025
8.3.0 197 12/23/2025
8.2.0 209 9/24/2025
Loading failed