On Thursday, 16 January 2014 at 21:48:14 UTC, bearophile wrote:
Gary Willoughby:

What i would like to achieve is to dynamically assign and retrieve properties without declaring them first.

Do you mean something like this?
http://rosettacode.org/wiki/Add_a_variable_to_a_class_instance_at_runtime#D

Bye,
bearophile

Yes exactly but i would like to preserve the types of differently typed properties so i can cast them back on retrieval.

Reply via email to