L
Luigi
Hi all,
using C# 2.0, is there a way to get the type of the keys on a generic
dictionary?
For example, if I have a dictionary like this:
Dictionary<MyObject1, MyObject2> testDic = new Dictionary<MyObject1,
MyObject2>();
I'd like to get MyObject1.
Thanks in advance.
using C# 2.0, is there a way to get the type of the keys on a generic
dictionary?
For example, if I have a dictionary like this:
Dictionary<MyObject1, MyObject2> testDic = new Dictionary<MyObject1,
MyObject2>();
I'd like to get MyObject1.
Thanks in advance.