I have a class with a lot of properties (40). I call this class by example: Auto.property1 or Auto.property2 etcetera. (Auto is name of the class).
Now I have a string that can contain one of the 40 propertyNames. How can I parse the string so the propertie can be called (c#), ie. If i have a string temp with the value "Propertie2", how can I dynamicly call this propertie in the Auto class ?
Thanks in advance!!!!!
Read Full article Here.
No comments:
Post a Comment
Post your comments here: