I have class like this:
public class Class1
{
public string FirstName { get; set; }
public string LastName { get; set; }
}
Now I have another string list from somewhere and want to load it dynamically to be the public properties of Class1
when my application launch, how can i do?
string list like:
- Telephone
- Homepage
load them as public properties of Class1
in run time.