Hello.
Can anybody tell me how can I dynamically create a class? I think I have to
use Reflection, but I don't know how.
10x,
Marius
Daniel O'Connell [C# MVP] - 26 Nov 2004 17:01 GMT
> Hello.
> Can anybody tell me how can I dynamically create a class? I think I have
> to use Reflection, but I don't know how.
look at teh Activator class, the CreateInstance method specifically.
Sudhakar Sadasivuni[mvp] - 29 Nov 2004 12:25 GMT
Well, you have to use CSharp Code DOM for this
check this
http://support.microsoft.com/?scid=kb;en-us;821778&spid=2988&sid=118
Sudhakar Sadasivuni
http://weblogs.asp.net/ssadasivuni
MyUG : http://www.mugh.net
> Hello.
> Can anybody tell me how can I dynamically create a class? I think I have to
> use Reflection, but I don't know how.
> 10x,
> Marius