Some quick background of what I am doing.
I am trying to make a content creation engine for a game that I wrote in ASP.net.
Basically the content creation enginge will create an object in the game then dynamically create a form so I can fill in the values. Once I fill in the values I can hit save and have a serilized file of the object that the game can then load during run time.
To do get the form to be dynamically created I am heavily using refliction. My goal is that if the object changes I will NEVER have to change the content creation engine.
So far the development of my content creation engine is going really well except for when I hit an object that I need to edit of type List<T>. Basically I need a way to get and retrive objects from the List.
Problem is when I am developing I don't T which makes dealing with List<T> difficult. As for the actul objects in the List I don't need any help there.
I just need a way to add and retrive objects from List<T>
What I have so far.
object listObject = Activator.CreateInstance(propertyInfo.PropertyType) //This works great no issues
Adding objects to List<T>
View Complete Post