I
I
Ivan Popenya2020-05-06 15:30:33
C++ / C#
Ivan Popenya, 2020-05-06 15:30:33

How to run Console.WriteLine()?

5eb2ade758192701283007.jpegConsole.WriteLine() does not work, please help. I searched the Internet, but did not understand how to fix the error. Studio Code recently downloaded, added a .Net program to work with C#.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-05-06
@ivan4554

Well, that's right, you Consoleonly have the class in namespace Program. WriteLineI don't see any . You either do not make the same names, or explicitly indicate that you need a console from the System namespaceSystem.Console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question