Skip to content

Commit 4a168b7

Browse files
committed
string interpolation
1 parent f3b01e8 commit 4a168b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Projects/Dice Game/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
Console.WriteLine("This round is a draw!");
4747
}
4848

49-
Console.WriteLine("The score is now - Player : " + playerPoints + ". Rival : " + rivalPoints + ".");
49+
Console.WriteLine($"The score is now - Player : {playerPoints}. Rival : {rivalPoints}.");
5050
Console.WriteLine();
5151
}
5252

0 commit comments

Comments
 (0)