reflection

How to create instance of generic class using reflection

In this post, I am going to show how to create an instance of a generic class using c# reflection. The trick is to use the MakeGenericType to make the argument(s) and then call create Instance. Here is a code snippet: Type d…

Load More
That is All