过去将来时用法:C# 初级问题: hellow world MessageBox

来源:百度文库 编辑:中科新闻网 时间:2024/05/02 11:45:00
using System;
using System.Windows.Forms;
static class entry
{
public static int Main()
{

MessageBox.Show("Hello, world!", "caption");
return 0;
}
}

为什么我运行以后不但出现了 messagebox, 背后还有个 console 窗口?如何使那个 console窗口消失?

using System;
using System.Windows.Forms;
public class entry
{
public static int Main()
{

MessageBox.Show("Hello, world!", "caption");
return 0;
}
}
你 试试这个
windows应用程序里面
也不知道你用的 什么工具
是visual studio.net 吗
不是的话建议你用这个工具
很好用的