KeyValue<TKey, TValue> public class KeyValue<TKey, TValue> Represents a key-value reference type. Documentation Code public TKey Key { get; set; } The key. public TValue Value { get; set; } The value. public KeyValue(TKey key, TValue value) Constructs a KeyValue<T, U>.