|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Visual Studio 2005
initonly indicates that variable assignment can only occur as part of the declaration or in a static constructor in the same class.
initonly is a context-sensitive keyword; seefor more information.