M42.Collections by Daniel Pelsmaeker

<PackageReference Include="M42.Collections" Version="0.6.5056.5071" />

 Association<TKey, TValue>

public struct Association<TKey, TValue> : IAssociation<TKey, TValue>, IEquatable<Association<TKey, TValue>>
An association between a key and a value.
public TKey Key { get; }

public TValue Value { get; }

public Association(TKey key, TValue value)

Initializes a new instance of the Association<T, U> class.

public static bool op_Equality(Association<TKey, TValue> left, Association<TKey, TValue> right)

Returns a value that indicates whether two specified Association<T, U> objects are equal.

public static bool op_Inequality(Association<TKey, TValue> left, Association<TKey, TValue> right)

Returns a value that indicates whether two specified Association<T, U> objects are not equal.

public bool Equals(Association<TKey, TValue> other)