Few years ago in create-class-dynamically-at-runtime
Has been explained how to dynamically create a class using CreateClass function. Function works fine, and I successfully enumerated properties of newly created class.
I know that I can create single instance of newly created class using
Dim varNewType = CreateClass("clsTest2", TypeDict)
Dim NewVar = Activator.CreateInstance(varNewType)
However, I don’t have I clue how to access its properties, how to set them or get their values.
Also, I need to create a list of this new created type. So please, if anyone has any idea, do share.
Thanks in advance.