I’m new to C# and I heard that is possible to create classes at run time. Is this true? If it’s true can you give me a simple example on how to do it? I want to create a class from a configuration file at run time to use it as SelectedObject in PropertyGrid control.
Thanks for help!
What you actually want to do is display arbitrary data in a PropertyGrid. You don’t need to create a new class for this. You can just use a custom type descriptor.
Check this out.