AlastairLundy.Extensions.Collections
6.0.0-alpha.2
Prefix Reserved
dotnet add package AlastairLundy.Extensions.Collections --version 6.0.0-alpha.2
NuGet\Install-Package AlastairLundy.Extensions.Collections -Version 6.0.0-alpha.2
<PackageReference Include="AlastairLundy.Extensions.Collections" Version="6.0.0-alpha.2" />
paket add AlastairLundy.Extensions.Collections --version 6.0.0-alpha.2
#r "nuget: AlastairLundy.Extensions.Collections, 6.0.0-alpha.2"
// Install AlastairLundy.Extensions.Collections as a Cake Addin #addin nuget:?package=AlastairLundy.Extensions.Collections&version=6.0.0-alpha.2&prerelease // Install AlastairLundy.Extensions.Collections as a Cake Tool #tool nuget:?package=AlastairLundy.Extensions.Collections&version=6.0.0-alpha.2&prerelease
CollectionsExtensions
Extensions to C# IEnumerables, ICollections, and more to improve them.
Features
Support
This can be added to any .NET Standard 2.0, .NET Standard 2.1, or .NET 8 compatible Application or Library.
Compatibility
Collections Extensions Version series | .NET Targets supported |
---|---|
>= 6.0.0 | .NET Standard 2.0, .NET Standard 2.1, .NET 8, and .NET 9 |
>= 5.4.0 && < 6.0.0 | .NET Standard 2.0, .NET Standard 2.1, and .NET 8 |
< 5.4.0 | .NET 8 |
License
This project is licensed under the MIT license.
This is not legal advice. If you have any questions over licensing please contact an attorney.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AlastairLundy.Extensions.Collections:
Package | Downloads |
---|---|
CliRunner
CliRunner is a .NET Library for interacting with Command Line Interfaces, CliRunner is a library for interacting with Command Line Interfaces and wrapping around executables. |
|
AlastairLundy.Extensions.Maths
Extensions to C# Math classes and structs to help improve them. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.0-alpha.2 | 157 | 2/4/2025 |
6.0.0-alpha.1 | 142 | 1/28/2025 |
5.6.0 | 86 | 12/30/2024 |
5.5.0 | 97 | 11/29/2024 |
5.4.1 | 89 | 11/23/2024 |
5.4.0 | 138 | 10/14/2024 |
5.3.0 | 142 | 9/14/2024 |
5.2.1 | 124 | 9/14/2024 |
5.1.0 | 149 | 8/24/2024 |
5.0.0 | 146 | 7/8/2024 |
### Changes since 6.0.0 Alpha 1
* Moved Dictionary extensions to ``AlastairLundy.Extensions.Collections.Generics`` namespace and move file location to sub folder of Generics
* Moved non Generic ICollection extension methods to non generics namespace
* Removed redundant ``Replace`` enumerable extension method overload
* Removed redundant ``ToString`` enumerable extension method overload - The generic method is still available
* Clarified C# language version used to be C# 13
* Renamed ``TryElementAt(this ICollection collection, int index, out object? value)`` ICollection non generic method to ``TryGetElementAt(this ICollection collection, int index, out object? value)``
* Renamed ``TryIndexesOf`` collection generic method to ``TryGetIndexesOf``
* * Renamed ``TryIndexesOf`` collection non-generic method to ``TryGetIndexesOf``
* Changed return type of ``IndexesOf`` in generic Collection extension and non-generic Collection extensions from ``ICollection<int>`` to ``IEnumerable<int>``