Inspired by Units of Measure in F#, and despite asserting (here) that you couldn\'t do it in C#, I had an idea the other day which I\'ve been playing around with.
Why not use CodeDom to generate all possible permutations of the units automatically? I know it's not the best - but I will definitely work!