Ali:
> Note that Timon's inner foreach is a compile-time foreach, which is the
> equivalent of the following three lines:
I'd like it to be written:
static foreach (...) {...
In the meantime an annotation helps clarify the code for the person that will read the code:
/*static*/ foreach (...) {...
Bye,
bearophile