octicon-rss(16/)
You've already forked hello-algo
mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-10 23:11:15 +08:00
fix(csharp): unified array statement (#1011)
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
committed by
GitHub
gitea-unlock(16/)
parent
f68bbb0d59
commit
9c0bb55150
octicon-diff(16/tw-mr-1) 2 changed files with 2 additions and 2 deletions
@@ -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];
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user