Send message to console from GUI application - C #

Hi I want to print some messages when I run the C # GUI application in Visual Studio. This is like debugging. So I tried, but didn't work. console.writeline () does not work or may work, but I could not see the messages. Does anyone know about this? give me a solution if you know. Thank.

+3
source share
3 answers

Invoke Debug.WriteLine, which will be displayed in the Visual Studio output window.

+7
source

Console.WriteLine ("Application started !!");

which will also be written to the output window.

+6
source

, , - .

+1
source

Source: https://habr.com/ru/post/1781362/


All Articles