@@ -1927,7 +1927,8 @@ The run-time processing of an array access of the form `P[A]`, where `P` is a *p
1927
1927
> 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
1928
1928
>
1929
1929
> ```csharp
1930
- > values2D [idx3 .GetOffset (values2D .GetUpperBound (0 ) + 1 ), idx4 .GetOffset (values2D .GetUpperBound (1 ) + 1 )]
1930
+ > values2D [idx3 .GetOffset (values2D .GetUpperBound (0 ) + 1 ),
1931
+ idx4 .GetOffset (values2D .GetUpperBound (1 ) + 1 )]
1931
1932
> ```
1932
1933
>
1933
1934
> * end example *
@@ -1941,7 +1942,8 @@ The run-time processing of an array access of the form `P[A]`, where `P` is a *p
1941
1942
> `seasons [0 .. 2 ]` is transformed by the implementation to
1942
1943
>
1943
1944
> ```csharp
1944
- > System .Runtime .CompilerServices .RuntimeHelpers .GetSubArray <string >(seasons , 0 .. 2 )
1945
+ > System .Runtime .CompilerServices .RuntimeHelpers .GetSubArray <string >(
1946
+ seasons , 0 .. 2 )
1945
1947
> ```
1946
1948
>
1947
1949
> which returns the `string []` slice containing `" Summer" ` and `" Autumn" `. * end example *
@@ -3316,13 +3318,13 @@ Lifted ([§11.4.8](expressions.md#1148-lifted-operators)) forms of the unlifted
3316
3318
3317
3319
> * Example* : The following example uses array and string indexable sequences:
3318
3320
>
3319
- > ``` csharp
3321
+ > ``` csharp
3320
3322
> string [] seasons = new string [] { " Summer" , " Autumn" , " Winter" , " Spring" };
3321
3323
> seasons [1 .. 3 ] // string[2] "Autumn", "Winter"
3322
3324
> seasons [^ 2 .. ^ 1 ] // string[1] "Winter"
3323
3325
> seasons [2 .. ] // string[2] "Winter", "Spring"
3324
3326
> seasons [1 .. 1 ] // string[0]
3325
- >
3327
+ >
3326
3328
> string s2 = " Hello!" ;
3327
3329
> Index ? startN = 1 ;
3328
3330
> Index ? endN = ^ 2 ;
0 commit comments