SunamoCollectionsTo 26.5.18.5

dotnet add package SunamoCollectionsTo --version 26.5.18.5
                    
NuGet\Install-Package SunamoCollectionsTo -Version 26.5.18.5
                    
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="SunamoCollectionsTo" Version="26.5.18.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SunamoCollectionsTo" Version="26.5.18.5" />
                    
Directory.Packages.props
<PackageReference Include="SunamoCollectionsTo" />
                    
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 SunamoCollectionsTo --version 26.5.18.5
                    
#r "nuget: SunamoCollectionsTo, 26.5.18.5"
                    
#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 SunamoCollectionsTo@26.5.18.5
                    
#: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=SunamoCollectionsTo&version=26.5.18.5
                    
Install as a Cake Addin
#tool nuget:?package=SunamoCollectionsTo&version=26.5.18.5
                    
Install as a Cake Tool

SunamoCollectionsTo

Provides helper methods for easier creation and conversion of collections between each other.

Part of PlatformIndependentNuGetPackages:

Other links:

Request for new features / bug report / etc: Mail or on GitHub

Key Methods

  • CollectionsHelperTo.ToList<T>(params T[]) - Converts an array of elements to a List.
  • CollectionsHelperTo.ToArray<T>(params T[]) - Returns the provided elements as an array.
  • CollectionsHelperTo.ToListString(params object[]) - Converts an array of objects to a List of strings.

Target Frameworks

TargetFrameworks: net10.0;net9.0;net8.0

Reason: Code uses C# 12.0 features (collection expressions) requiring .NET 8.0+:

  • Collection expressions [] syntax requires C# 12.0 (net8.0+)
Product Compatible and additional computed target framework versions.
.NET 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.  net10.0 is compatible.  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
26.5.18.5 93 5/18/2026
26.4.6.4 98 4/6/2026
26.2.23.3 110 2/23/2026
26.2.7.2 121 2/7/2026
26.2.5.1 120 2/5/2026
26.2.4.1 114 2/4/2026
26.1.3.1 111 1/3/2026
26.1.1.164 108 1/1/2026
26.1.1.163 109 1/1/2026
26.1.1.94 114 1/1/2026
25.12.31.1 112 12/31/2025
25.12.21.1 178 12/21/2025
25.3.29.1 165 3/29/2025
24.12.23.1 155 12/23/2024
24.11.11.1 168 11/11/2024
24.9.20.1 165 9/20/2024
24.8.16.1 173 8/16/2024
24.7.31.1 132 7/31/2024
24.7.18.1 151 7/18/2024
24.7.16.1 156 7/16/2024
Loading failed

y