From dea4f0e9cac37113e6cf1dffc6e3271ca6aa94e0 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 12 Dec 2023 10:01:37 -0800 Subject: [PATCH] Update csharp-12.md (#38724) * 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 --- docs/csharp/whats-new/csharp-12.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/csharp/whats-new/csharp-12.md b/docs/csharp/whats-new/csharp-12.md index 9ca338646e360..1c0f26507ad07 100644 --- a/docs/csharp/whats-new/csharp-12.md +++ b/docs/csharp/whats-new/csharp-12.md @@ -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}, ");