You can use class Pair
Visual Basic:
Dim value As Pair(Of String, String) = new Pair(Of String, String) With (foo, bar)
FROM#:
Pair<String, String> value = new Pair<String, String>(foo, bar);
Unverified and there may be typos, it took quite a while, since I worked in either Visual Basic or C #.
More details here .
source
share