Good afternoon, there is such a code:
class Program { static void Main(string[] args) { const string a = ""; Console.WriteLine("Представьтесь"); a = Console.ReadLine(); } } I want to read the text in the variable a. And it gives an error - the left side of the assignment expression must be a variable property or an indexer. What is the problem?
/*const*/ string a = "";- Igor