Why can\'t I initialize readonly variables in a initializer? The following doesn\'t work as it should:
class Foo { public readonly int bar; } new Foo {
According to this page, the CLR default-constructs the object first before processing the initializer list, and you are therefore assigning to bar twice (once on default construction, once when the initializer is processed).
bar