What i need to do is something like this, but really can't understand how.
Object value = new typeof(i.FieldType.GetType());
The type of the value can be whatever, it just must be inherit of a class (for example, BaseClass). The type will be read from (.Net) System.Reflections. But i don't know how can i create a new object of this.
How can i create a new() object (constructor), of an object stored as Object, of which the type if known by the System.Reflections?
BaseClass value = (BaseClass)Activator.CreateInstance(typeof(t))