I am new to reflection in .net. I have a method in a dll (Public Dictionary CollectData()), where CollectedHistory is a class in the same dll. THis class has 3 lists (List).
I am invoking this method from another assembly using reflection. And the result of this method has been assigned to a VAR object.
But, I am not clear, how can I type cast the output of this method in to DictionaryCollectData() method exists).
Please advise me, how to type cast the method output to the proper type using c# reflection.
Aucun commentaire:
Enregistrer un commentaire