Merge pull request #47584 from HaSa1002/docs-lang-7

This commit is contained in:
Rémi Verschelde
2021-06-11 14:35:45 +02:00
committed by GitHub
3 changed files with 36 additions and 8 deletions
+2 -2
View File
@@ -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]