@@ -1959,7 +1959,8 @@ The run-time processing of an array access of the form `P[A]`, where `P` is a *p
1959
1959
> as `Index `- typed subscripts are not supported in this context , what one might like to express simply as `values2D [idx3 , idx4 ]` must instead be rewritten explicitly by the programmer as
1960
1960
>
1961
1961
> ```csharp
1962
- > values2D [idx3 .GetOffset (values2D .GetUpperBound (0 ) + 1 ), idx4 .GetOffset (values2D .GetUpperBound (1 ) + 1 )]
1962
+ > values2D [idx3 .GetOffset (values2D .GetUpperBound (0 ) + 1 ),
1963
+ idx4 .GetOffset (values2D .GetUpperBound (1 ) + 1 )]
1963
1964
> ```
1964
1965
>
1965
1966
> * end example *
@@ -1973,7 +1974,8 @@ The run-time processing of an array access of the form `P[A]`, where `P` is a *p
1973
1974
> `seasons [0 .. 2 ]` is transformed by the implementation to
1974
1975
>
1975
1976
> ```csharp
1976
- > System .Runtime .CompilerServices .RuntimeHelpers .GetSubArray <string >(seasons , 0 .. 2 )
1977
+ > System .Runtime .CompilerServices .RuntimeHelpers .GetSubArray <string >(
1978
+ seasons , 0 .. 2 )
1977
1979
> ```
1978
1980
>
1979
1981
> which returns the `string []` slice containing `" Summer" ` and `" Autumn" `. * end example *
@@ -3392,13 +3394,13 @@ Lifted ([§11.4.8](expressions.md#1148-lifted-operators)) forms of the unlifted
3392
3394
3393
3395
> * Example* : The following example uses array and string indexable sequences:
3394
3396
>
3395
- > ``` csharp
3397
+ > ``` csharp
3396
3398
> string [] seasons = new string [] { " Summer" , " Autumn" , " Winter" , " Spring" };
3397
3399
> seasons [1 .. 3 ] // string[2] "Autumn", "Winter"
3398
3400
> seasons [^ 2 .. ^ 1 ] // string[1] "Winter"
3399
3401
> seasons [2 .. ] // string[2] "Winter", "Spring"
3400
3402
> seasons [1 .. 1 ] // string[0]
3401
- >
3403
+ >
3402
3404
> string s2 = " Hello!" ;
3403
3405
> Index ? startN = 1 ;
3404
3406
> Index ? endN = ^ 2 ;
0 commit comments