I don t know hoe to use Console.WriteLine

I place a form and a button then I use Console.WriteLine in my code . But this latter doesn t display anything. where should I watch the output of Console.WriteLine. In which window
Thanks



Answer this question

I don t know hoe to use Console.WriteLine

  • PIEBALD

    Console.WriteLine is for when you have a Console. You do not have a Console when you are developing Windows Applications.

    If you are not writing output for debug purposes you need to state so and state what you are doing.

  • sheidee21

    If its a console application they should appear when the programs run, if your using a windows application you need to look in the output window.

    Debug -> Windows -> Output

    in Express will show the console.writeline output.


  • MSDev23

    You should use System.Diagnostics.Debug.WriteLine to write debug statements to another window. Hope that helps.

  • GeneralSQL

    I find Console.WriteLine in Microsoft examples.


  • I don t know hoe to use Console.WriteLine