I'm not entirely clear on what you're doing here, but
you may want to
consider using custom attributes for some of this - for instance, the
units that the class uses could be implemented as a type- level
attribute.
OK, brilliant! I'll look into that - I am definitely
looking for a more elegant way of doing things. In
essence, I want to do this: say, I have a "Sprint" class
representing short runs made by a single person on a
track field. A "Sprint" will of course have some non-
static properties, like the length of the sprint, name of
the runner, time spent, average velocity and so forth.
What I would like to do, is to add some meta-data for
those properties. For instance, I would like the ability
to specify that length is measured in meters, not in
feet, and that velocity is meters/second, not mph.