I want to get type of TKey and TValue given a Dictionary<TKey,TValue>
type.
eg. If type is Dictionary<Int32,String>
I want to know how to get
keyType = typeof(Int32) and
valueType = typeof(String)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…