From 9c0bb5515025c09a64092360231455f878acf451 Mon Sep 17 00:00:00 2001 From: hpstory <33348162+hpstory@users.noreply.github.com> Date: Thu, 28 Dec 2023 18:06:43 +0800 Subject: [PATCH] fix(csharp): unified array statement (#1011) --- docs-en/chapter_array_and_linkedlist/array.md | 2 +- docs/chapter_array_and_linkedlist/array.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-en/chapter_array_and_linkedlist/array.md b/docs-en/chapter_array_and_linkedlist/array.md index c085b904f..0a6652e1a 100755 --- a/docs-en/chapter_array_and_linkedlist/array.md +++ b/docs-en/chapter_array_and_linkedlist/array.md @@ -42,7 +42,7 @@ There are two ways to initialize arrays depending on the requirements: without i ```csharp title="array.cs" /* Initialize array */ - int[] arr = new int[5]; // { 0, 0, 0, 0, 0 } + int[] arr = new int[5]; // [ 0, 0, 0, 0, 0 ] int[] nums = [1, 3, 2, 5, 4]; ``` diff --git a/docs/chapter_array_and_linkedlist/array.md b/docs/chapter_array_and_linkedlist/array.md index be902d5a6..e8854bfd6 100755 --- a/docs/chapter_array_and_linkedlist/array.md +++ b/docs/chapter_array_and_linkedlist/array.md @@ -42,7 +42,7 @@ ```csharp title="array.cs" /* 初始化数组 */ - int[] arr = new int[5]; // { 0, 0, 0, 0, 0 } + int[] arr = new int[5]; // [ 0, 0, 0, 0, 0 ] int[] nums = [1, 3, 2, 5, 4]; ```