diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-06-11 14:35:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 14:35:45 +0200 |
commit | 74b3b0db0e8e9dbe337faed7ce7c142327617a93 (patch) | |
tree | 23bdcb5cedb211faf2c00852b1da85c8125f708f /doc/classes/Array.xml | |
parent | 1f69213175550b2045b3888670ee1758246d79ca (diff) | |
parent | 23bc697239554197c636c82e88b096a6e9511907 (diff) | |
download | redot-engine-74b3b0db0e8e9dbe337faed7ce7c142327617a93.tar.gz |
Merge pull request #47584 from HaSa1002/docs-lang-7
Diffstat (limited to 'doc/classes/Array.xml')
-rw-r--r-- | doc/classes/Array.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 49775fa28b..543ec096c7 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -33,8 +33,8 @@ [/gdscript] [csharp] // Array concatenation is not possible with C# arrays, but is with Godot.Collections.Array. - var array1 = new Godot.Collections.Array("One", 2); - var array2 = new Godot.Collections.Array(3, "Four"); + var array1 = new Godot.Collections.Array{"One", 2}; + var array2 = new Godot.Collections.Array{3, "Four"}; GD.Print(array1 + array2); // Prints [One, 2, 3, Four] [/csharp] [/codeblocks] |