Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 14 Expressionsprevious at this levelnext at this level 14.5 Primary expressionsprevious at this levelnext at this level 14.5.6 Element access Paragraph 11 An element-access consists of a primary-no-array-creation-expression, followed by a "[" token, followed by an expression-list, followed by a "]" token. 2 The expression-list consists of one or more expressions, separated by commas. element-access : primary-no-array-creation-expression [ expression-list ] expression-list : expression expression-list , expression Paragraph 21 If the primary-no-array-creation-expression of an element-access is a value of an array-type, the element-access is an array access (§14.5.6.1). 2 Otherwise, the primary-no-array-creation-expression must be a variable or value of a class, struct, or interface type that has one or more indexer members, in which case the element-access is an indexer access (§14.5.6.2).
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS