---
title: Struct KeyValue<TKey, TValue>
sidebar_label: KeyValue<TKey, TValue>
description: "Generic Key-and-Value Implementation"
---
# Struct KeyValue&lt;TKey, TValue&gt;
Generic Key-and-Value Implementation

###### **Assembly**: Netly.dll
###### [View Source](https://github.com/alec1o/netly/blob/main/src/Core/KeyValue.cs#L8)
```csharp title="Declaration"
public struct KeyValue<TKey, TValue>
```
## Properties
### Key
Key (name)
###### [View Source](https://github.com/alec1o/netly/blob/main/src/Core/KeyValue.cs#L13)
```csharp title="Declaration"
public TKey Key { get; }
```
### Value
Value (data)
###### [View Source](https://github.com/alec1o/netly/blob/main/src/Core/KeyValue.cs#L18)
```csharp title="Declaration"
public TValue Value { get; }
```
