L
L
Lenex2018-07-12 17:29:37
C++ / C#
Lenex, 2018-07-12 17:29:37

Why doesn't the Console.WriteLine (C#) method work?

Console.WriteLine method not working

using System;
class PleaseSayUra
{
    static void Main()
    {
        Console.WriteLine(“Ура!“);
        Console.ReadLine();
    }
}

What is written is the same as in the book:
5b475814405cc157562449.png
...but the compilation fails with an error:
5b4765b29f794548533586.png
UPD: .NET Framework is, the recent version of
UPD2: screenshot of the References node:
5b476b73a8aab167213492.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LiptonOlolo, 2018-07-12
@Lenex

You have a UWP app, that's the problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question