Skip to content

Commit

Permalink
Fix inconsistent "," vs. "+" for GD.Print example
Browse files Browse the repository at this point in the history
  • Loading branch information
31 committed Jan 23, 2024
1 parent f18861f commit 3a0c812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/scripting/c_sharp/c_sharp_signals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ this example to have potentially unexpected behavior:
myTimer.Timeout += () =>
{
x++; // This lambda expression captures x.
GD.Print("Tick ", x, " my name is " + Name);
GD.Print("Tick ", x, " my name is ", Name);
if (x == 3)
{
GD.Print("Time's up!");
Expand Down Expand Up @@ -122,7 +122,7 @@ the ``_EnterTree`` and ``_ExitTree`` lifecycle methods:
_tick = () =>
{
x++;
GD.Print("Tick ", x, " my name is " + Name);
GD.Print("Tick ", x, " my name is ", Name);
if (x == 3)
{
GD.Print("Time's up!");
Expand Down

0 comments on commit 3a0c812

Please sign in to comment.