Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
using System; namespace MyApplication { class Program { static void Main(string[] args) { int points = 80; if (points > 50) { string message = "You win!"; Console.WriteLine(message); } Console.WriteLine(message); // Error } } }
prog.cs(17,25): error CS0103: The name `message' does not exist in the current context
Compilation failed: 1 error(s), 0 warnings