Adding values to a Dictionary using reflection.
Posted
by Maneesh
on Stack Overflow
See other posts from Stack Overflow
or by Maneesh
Published on 2010-06-01T08:24:28Z
Indexed on
2010/06/01
8:33 UTC
Read the original article
Hit count: 163
c#
|reflection
I have a class
class a
{
private Dictionary <int , string> m_Dict = new Dictionary<int , string>();
}
from some other component/class need to add values to the m_Dict dictionary using reflection! How do i do it ? i searched and tried but was not successfull.
© Stack Overflow or respective owner