Showing the value of a variable on the console.
Print a Variable in C#
Print a Variable in C# using Concatenation
💻 C#
int score = 0;
Console.WriteLine("Score: " + score);
🖨️ Console
Score: 0
Related Concepts
- Uses: Concatenation
- Uses: Variable
Showing the value of a variable on the console.
💻 C#
int score = 0;
Console.WriteLine("Score: " + score);
🖨️ Console
Score: 0