Phaeyz.Collections
0.0.0
dotnet add package Phaeyz.Collections --version 0.0.0
NuGet\Install-Package Phaeyz.Collections -Version 0.0.0
<PackageReference Include="Phaeyz.Collections" Version="0.0.0" />
<PackageVersion Include="Phaeyz.Collections" Version="0.0.0" />
<PackageReference Include="Phaeyz.Collections" />
paket add Phaeyz.Collections --version 0.0.0
#r "nuget: Phaeyz.Collections, 0.0.0"
#:package Phaeyz.Collections@0.0.0
#addin nuget:?package=Phaeyz.Collections&version=0.0.0
#tool nuget:?package=Phaeyz.Collections&version=0.0.0
Phaeyz
Phaeyz is a set of libraries created and polished over time for use with other projects, and made available here for convenience.
All Phaeyz libraries may be found here.
Phaeyz.Collections
API documentation for Phaeyz.Collections library is here.
This library contains collection classes which are useful for other projects, such as Phaeyz.Exif. Here are some highlights.
KeyedCollection
// Both ICollection<KeyValuePair<K, V>> and IDictionary<K, V> are implemented
var collection = new KeyedCollection<int, string>(); // Essentially, an ordered dictionary
collection[1] = "one"; // Elements are added in order by default
collection[3] = "three";
var index = collection.IndexOf(3); // Indexes may be fetched
collection.Insert(index, new KeyValuePair<int, string>(2, "two")); // Elements can be inserted
foreach (KeyValuePair<int, string> kvp in collection)
{
Console.WriteLine($"{kvp.Key} = {kvp.Value}"); // Elements always iterated in order
}
string value = collection[2]; // Keys are used just like a dictionary
Licensing
This project is licensed under GNU General Public License v3.0, which means you can use it for personal or educational purposes for free. However, donations are always encouraged to support the ongoing development of adding new features and resolving issues.
If you plan to use this code for commercial purposes or within an organization, we kindly ask for a donation to support the project's development. Any reasonably sized donation amount which reflects the perceived value of using Phaeyz in your product or service is accepted.
Donation Options
There are several ways to support Phaeyz with a donation. Perhaps the best way is to use Patreon so that recurring small donations continue to support the development of Phaeyz.
- Patreon: https://www.patreon.com/phaeyz
- Bitcoin: Send funds to address:
bc1qdzdahz8d7jkje09fg7s7e8xedjsxm6kfhvsgsw - PayPal: Send funds to
phaeyz@pm.me(directions)
Your support is greatly appreciated and helps me continue to improve and maintain Phaeyz!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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. |
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Phaeyz.Collections:
| Package | Downloads |
|---|---|
|
Phaeyz.Exif
Phaeyz.Exif |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.0 | 243 | 2/14/2025 |