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 {
Because you specified it is readonly. It does not make sense to specify that something is readonly then expect a write statement to work.