# FrozenDictionarySurrogate&lt;TKey, TValue&gt; Fields

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.frozendictionarysurrogate-2/)

## KeyComparer {#keycomparer-19eb53e1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.frozendictionarysurrogate-2/fields/keycomparer-19eb53e1/)

```csharp
[Orleans.Id(1)]
public IEqualityComparer<TKey> FrozenDictionarySurrogate<TKey, KeyComparer
```

Gets or sets the key comparer.

### Value

The key comparer.

## Values {#values-f71acb0a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.frozendictionarysurrogate-2/fields/values-f71acb0a/)

```csharp
[Orleans.Id(0)]
public List<KeyValuePair<TKey, TValue>> FrozenDictionarySurrogate<TKey, Values
```

Gets or sets the values.

### Value

The values.
