Soenneker.Extensions.Spans.Generics
11.0.40
Prefix Reserved
dotnet add package Soenneker.Extensions.Spans.Generics --version 11.0.40
NuGet\Install-Package Soenneker.Extensions.Spans.Generics -Version 11.0.40
<PackageReference Include="Soenneker.Extensions.Spans.Generics" Version="11.0.40" />
<PackageVersion Include="Soenneker.Extensions.Spans.Generics" Version="11.0.40" />
<PackageReference Include="Soenneker.Extensions.Spans.Generics" />
paket add Soenneker.Extensions.Spans.Generics --version 11.0.40
#r "nuget: Soenneker.Extensions.Spans.Generics, 11.0.40"
#:package Soenneker.Extensions.Spans.Generics@11.0.40
#addin nuget:?package=Soenneker.Extensions.Spans.Generics&version=11.0.40
#tool nuget:?package=Soenneker.Extensions.Spans.Generics&version=11.0.40
Soenneker.Extensions.Spans.Generics
Generic extension methods for rearranging and mutating writable spans without materializing another collection.
Installation
dotnet add package Soenneker.Extensions.Spans.Generics
Usage
using Soenneker.Extensions.Spans.Generics;
Span<int> choices = [1, 2, 3, 4];
choices.SecureShuffle();
SecureShuffle<T>() uses an unbiased Fisher–Yates shuffle with RandomNumberGenerator.GetInt32. It changes the original span and allocates no result collection. Empty and single-element spans are left unchanged.
The shuffle is unpredictable, but it does not erase the elements or make sensitive values safe to retain in memory.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Extensions.Spans.Generics:
| Package | Downloads |
|---|---|
|
Soenneker.Utils.Password
A modern .NET secure password generator |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.40 | 190 | 11/11/2026 |
| 11.0.39 | 99 | 11/10/2026 |
| 11.0.38 | 406 | 10/27/2026 |
| 11.0.37 | 121 | 10/26/2026 |
| 4.0.35 | 522 | 10/14/2026 |
| 4.0.34 | 142 | 10/14/2026 |
| 4.0.29 | 128 | 10/12/2026 |
| 4.0.28 | 125 | 10/12/2026 |
| 4.0.27 | 158 | 10/11/2026 |
| 4.0.26 | 378 | 9/24/2026 |
| 4.0.25 | 315 | 9/15/2026 |
| 4.0.24 | 168 | 9/12/2026 |
| 4.0.23 | 283 | 8/29/2026 |
| 4.0.21 | 137 | 8/29/2026 |
| 4.0.20 | 610 | 7/28/2026 |
| 4.0.19 | 317 | 7/16/2026 |
| 4.0.18 | 766 | 6/19/2026 |
| 4.0.17 | 482 | 6/5/2026 |
| 4.0.16 | 777 | 4/22/2026 |
| 4.0.15 | 275 | 3/13/2026 |
Upgrade .NET 11 release candidates to stable