How do I show a console output/window in a forms application?

前端 未结 11 1501
我寻月下人不归
我寻月下人不归 2020-11-22 11:15

To get stuck in straight away, a very basic example:

using System;
using System.Windows.Forms;

class test
{ 
    static void Main()
    { 
        Console.W         


        
11条回答
  •  太阳男子
    2020-11-22 12:03

    Create a Windows Forms Application, and change the output type to Console.

    It will result in both a console and the form to open.

提交回复
热议问题