Z
Zoltan Hernyak
Hi,
Can I generate a new type (a class with fields only) on-the-fly, from
a running app, and use it right then? For example if I want to build
a class which consists of fields which are parameters of a method.
I want to write a method which gives a method 'name' as a parameter,
and construct a class which has the same fields as the method has
using reflection or something like that... and use the new class
immediately in the same app. (crazy?!)
Is it possible?
Zoltan
Can I generate a new type (a class with fields only) on-the-fly, from
a running app, and use it right then? For example if I want to build
a class which consists of fields which are parameters of a method.
I want to write a method which gives a method 'name' as a parameter,
and construct a class which has the same fields as the method has
using reflection or something like that... and use the new class
immediately in the same app. (crazy?!)
Is it possible?
Zoltan