fix(csharp): unified array statement (#1011)

This commit is contained in:
hpstory 2023-12-28 18:06:43 +08:00 committed by GitHub
parent f68bbb0d59
commit 9c0bb55150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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];
```

View file

@ -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];
```