Skip to content

Commit

Permalink
Update csharp-12.md (#38724)
Browse files Browse the repository at this point in the history
* Update csharp-12.md

* Update docs/csharp/whats-new/csharp-12.md

* Update docs/csharp/whats-new/csharp-12.md

* Update docs/csharp/whats-new/csharp-12.md

* Update docs/csharp/whats-new/csharp-12.md
  • Loading branch information
CyrusNajmabadi authored Dec 12, 2023
1 parent e7c0afe commit dea4f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/csharp/whats-new/csharp-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The *spread operator*, `..` in a collection expression replaces its argument wit
int[] row0 = [1, 2, 3];
int[] row1 = [4, 5, 6];
int[] row2 = [7, 8, 9];
int[] single = [..row0, ..row1, ..row2];
int[] single = [.. row0, .. row1, .. row2];
foreach (var element in single)
{
Console.Write($"{element}, ");
Expand Down

0 comments on commit dea4f0e

Please sign in to comment.