Click here to Skip to main content
15,896,539 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
i have one object objtest and a list of strings lstProperty .
i want to add strings to object as a property i dont want to add key or value


list<string> lstProperty=new List<String> lstProperty.add("Name");
  lstProperty.add("Code");

for examples object objtest i want to add property name and code to it and used test.name in my propject i want to make my property dinamicly based on my list.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900