A local variable cannot be readonly. The readonly keyword can only be used on fields, not on local variables.