1
0
Fork
You've already forked ValueCollections
0
A collection of value-based generic collections implemented in C#.
  • C# 95%
  • Dockerfile 3.3%
  • Shell 1.7%
2026年02月07日 14:21:51 -06:00
ValueCollections Added project icon 2026年02月07日 14:21:51 -06:00
ValueCollections.Test Introduced helper methods 2026年02月07日 10:05:50 -06:00
.gitignore Use non-sorted inner collections 2026年02月06日 22:23:03 -06:00
CONTRIBUTING.md Added documentation 2026年02月05日 20:19:29 -06:00
docker-compose.yml Added Docker build 2026年02月05日 20:19:50 -06:00
Dockerfile Added Docker build 2026年02月05日 20:19:50 -06:00
LICENSE Added documentation 2026年02月05日 20:19:29 -06:00
project-icon.svg Added project icon 2026年02月07日 14:21:51 -06:00
publish-library.sh Added Docker build 2026年02月05日 20:19:50 -06:00
README.md Added project icon 2026年02月07日 14:21:51 -06:00
ValueCollections.slnx Initial version of ValueCollections 2026年02月04日 23:11:38 -06:00

ValueCollections

TypeAdoption Logo

NuGet Version

A collection of value-based generic collections implemented in C#.

Usage

Example

// Keeps value semantics without having to override Equals/GetHashCode
public record Person(string name, DateTimeOffset birthTime, ValueSet<Person> relatives);
var bob = new Person(
 "Bob",
 DateTime.Parse("1983年01月22日 01:14:20"), 
 [
 new Person(
 "Hamid Gul",
 DateTime.Parse("1975年10月18日 09:33:08"),
 []),
 ]);
var bobTwo = new Person(
 "Bob",
 DateTime.Parse("1983年01月22日 01:14:20"), 
 [
 new Person(
 "Hamid Gul",
 DateTime.Parse("1975年10月18日 09:33:08"),
 []),
 ]);
Assert.Equals(bob, bobTwo); // Passes

Installation

Add it to your csproj:

<PackageReference Include="NameHillSoftware.ValueCollections" Version="version" />

More usage examples can be found in the project README.md.

Development

License

This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details.