If you are asking about what class to use, then the standard dictionary class in .NET is
Dictionary<>
.
See
http://msdn.microsoft.com/en-us/library/xfhwa508.aspx[
^]
And as to what control to use to display it, that depends on what you want to do. It could be as simple as two text boxes, where the user types into one text box, and the other text box updates with the matching value. You just handle the text box change event in the first text box.
Alternatively, if you want to display the entire dictionary (and it's not too large that that's not practical), then you could use anything from a simple
ListBox
to a
ListView
, or even a grid control.