Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions standard/structs.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ Any indexers or `Slice` methods declared for an inline array type that have sign
> *Example*: Consider the following:
>
> <!-- Example: {template:"standalone-console-without-using", name:"InlineArays4", replaceEllipsis:true, customEllipsisReplacements: ["Console.WriteLine(\"in indexer [int]\");","return 0;"]} -->
```csharp
> ```csharp
> var buffer = new Buffer();
> int x = buffer[2]; // element access
>
Expand All @@ -574,8 +574,6 @@ Any indexers or `Slice` methods declared for an inline array type that have sign
>
> Even though the struct declares an indexer taking an `int` argument, that indexer is not used by element access `buffer[2]`. *end example*



## 16.7 Record struct and non-record struct differences

A record struct differs from a non-record struct in several important ways:
Expand Down
Loading