AlastairLundy.Extensions.Collections
5.5.0
Prefix Reserved
See the version list below for details.
dotnet add package AlastairLundy.Extensions.Collections --version 5.5.0
NuGet\Install-Package AlastairLundy.Extensions.Collections -Version 5.5.0
<PackageReference Include="AlastairLundy.Extensions.Collections" Version="5.5.0" />
paket add AlastairLundy.Extensions.Collections --version 5.5.0
#r "nuget: AlastairLundy.Extensions.Collections, 5.5.0"
// Install AlastairLundy.Extensions.Collections as a Cake Addin #addin nuget:?package=AlastairLundy.Extensions.Collections&version=5.5.0 // Install AlastairLundy.Extensions.Collections as a Cake Tool #tool nuget:?package=AlastairLundy.Extensions.Collections&version=5.5.0
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 |
---|---|
>= 5.4.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 was computed. 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
- AlastairLundy.Extensions.System (>= 5.4.0 && < 6.0.0)
-
.NETStandard 2.1
- AlastairLundy.Extensions.System (>= 5.4.0 && < 6.0.0)
-
net8.0
- AlastairLundy.Extensions.System (>= 5.4.0 && < 6.0.0)
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 5.4.0
### Additions
* Added ``ContainsSeparator`` extension method
* Added ``ToString()`` extension method for IEnumerables
* Added replacement methods for string and char IndexesOf extension methods
* Added ``KeyValuePairs()`` to IHashMap<TKey, TValue> and HashMap<TKey, TValue>
### Changes
* General code optimizations
* Updated dependency on SystemExtensions to 5.4.0 from 5.2.0
* Optimized ``FrequencyOf`` code to use LINQ
* Simplified string enumerable indexes of code
* Cleaned up IndexesOf extension methods
* Simplified IsTrue and IsFalse code
* Implemented IDisposable in HashMap and prevent usage after Disposal
* Remove inheritance of IDisposable from IBigCollection<T>
* Fixed issues with ICollection extension methods not returning ICollections
### Deprecations and Removals
* Deprecated ``CharIndexesOf`` and ``StringIndexesOf`` extension methods
* Deprecated ``IsAll`` and ``IsAny`` extension methods - These will be removed in a future version
* Deprecated the ``ForEach`` extension methods - This will be removed in a future version
* Deprecated ``IEnumerable<int> IndexesOf<T>(this IEnumerable<string> source, char expected)``