Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
using System; namespace MyApplication { class Program { static void Main(string[] args) { const int myNum = 15; myNum = 20; Console.WriteLine(myNum); } } }
prog.cs(10,7): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
Compilation failed: 1 error(s), 0 warnings