Hi peter,
Do you want to create a new instance from a class or create a new class and
an instance from it?
If you are interested in the first option then take a look at Activator
Class (Activator.CreateInstance).
If you are interested in the other you might consider using CodeDom.
--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com
"peter" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@phx.gbl...
How to create a class dynamicaly at run-time?
Some documentations in MSDN say that it is feasible
using the class "TypeBuilder",but I don't know how to do.
Is there anyone who can help me? Sample code is
appreciated.