ByteDev.Collections 2.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ByteDev.Collections --version 2.2.0                
NuGet\Install-Package ByteDev.Collections -Version 2.2.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="ByteDev.Collections" Version="2.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ByteDev.Collections --version 2.2.0                
#r "nuget: ByteDev.Collections, 2.2.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.
// Install ByteDev.Collections as a Cake Addin
#addin nuget:?package=ByteDev.Collections&version=2.2.0

// Install ByteDev.Collections as a Cake Tool
#tool nuget:?package=ByteDev.Collections&version=2.2.0                

ByteDev.Collections

Set of extension methods for various types of .NET collections.

Installation

ByteDev.Collections has been written as a .NET Standard 2.0 library, so you can consume it from a .NET Core or .NET Framework 4.6.1 (or greater) application.

ByteDev.Collections is hosted as a package on nuget.org. To install from the Package Manager Console in Visual Studio run:

Install-Package ByteDev.Collections

Further details can be found on the nuget page.

Release Notes

Releases follow semantic versioning.

Full details of the release notes can be viewed on GitHub.

Usage

To use any extension methods simply reference the ByteDev.Collections namespace.

Assembly contains extension methods:

  • Array []:
    • Populate
  • Array [,]:
    • GetColumn
    • GetColumnCount
    • GetRow
    • GetRowCount
    • Populate
  • IDictionary<TKey, TValue>:
    • AddOrUpdate
    • AddRange
    • AddOrUpdateRange
    • AddIfNotContainsKey
    • GetValuesIgnoreKeyCase
    • GetFirstValueIgnoreKeyCase
  • IEnumerable<T>:
    • Second
    • SecondOrDefault
    • Third
    • ThirdOrDefault
    • Fourth
    • FourthOrDefault
    • Fifth
    • FifthOrDefault
    • Sixth
    • SixthOrDefault
    • Seventh
    • SeventhOrDefault
    • Eigth
    • EigthOrDefault
    • Ninth
    • NinthOrDefault
    • Tenth
    • TenthOrDefault
    • ContainsAll
    • ContainsAny
    • NullToEmpty
    • ForEach
    • Find
    • IsEmpty
    • IsNullOrEmpty
    • IsSingle
    • IsEquivalentTo
    • ToDelimitedString
    • ToCsv
  • IEnumerable<string>:
    • GetLongest
    • GetShortest
  • ICollection<T>
    • Fill
    • RemoveWhere
  • IList<T>:
    • NullToEmpty
    • MoveToFirst
    • MoveToLast
    • ReplaceAt
    • ReplaceAll
  • NameValueCollection:
    • AddOrUpdate
    • AddIfNotContainsKey
    • ContainsKey
Product 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 was computed.  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. 
.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 was computed. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ByteDev.Collections:

Package Downloads
ByteDev.Giphy

.NET Standard library SDK to help communicate with the Giphy API.

ByteDev.Subtitles.SubRip

.NET Standard library to help when using SubRip subtitles.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0 240 9/25/2023
4.0.0 955 6/14/2022
3.4.0 325 1/12/2022
3.3.0 456 8/19/2021
3.2.0 353 8/13/2021
3.1.0 883 6/23/2021
3.0.0 459 3/17/2021
2.7.0 524 3/12/2021
2.6.0 348 1/28/2021
2.5.0 484 11/5/2020
2.4.0 427 10/14/2020
2.3.0 458 9/29/2020
2.2.0 854 7/13/2020
2.1.1 989 2/13/2020
2.1.0 549 1/18/2020
2.0.0 1,009 12/16/2019
1.4.0 552 11/5/2019
1.3.1 612 11/3/2019
1.3.0 537 11/2/2019
1.2.0 539 11/2/2019
1.1.0 596 10/8/2019
1.0.1 574 9/30/2019
1.0.0 585 9/28/2019