Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Print a Variable

From Groundhog Learning

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