I want to assign value to the property of the object of class. I have taken the list of property names using GetProperties();
PropertyInfo [] props;
props=typeof(Import_Column).GetProperties();
I have created an object
Import_Column myobj=new Import_Column();
I want to do something like
myobj.props[2]=value; //giving me error
How can i do it? is there any different approach?