I'm building a list of properties of a type to include in an export of a collection of that type. I'd like to do this without using strings for property names. Only certain properties of the type are to be included in the list. I'd like to do something like:
exportPropertyList<JobCard>.Add(jc => jc.CompletionDate, "Date of Completion");
How can I go about implementing this generic Add method? BTW, the string is the description of the property.