Menu

[r40]: / trunk / WhatsappClient / WhatsAppProtocol / Helper Classes / KeyValue.cs  Maximize  Restore  History

Download this file

22 lines (18 with data), 460 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public sealed class KeyValue
{
public string Key { get; private set; }
public string Value { get; private set; }
public KeyValue(string key, string value)
{
if ((value == null) || (key == null))
{
throw new NullReferenceException();
}
this.Key = key;
this.Value = value;
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.