using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
MessageBox.Show("Welcome to c# Programming!");
}
}
}
在上面的程序编译时,出现如下错误:
错误 1命名空间“System”中不存在类型或命名空间名称“Windows”(是缺少程序集引用吗?)
请问高手这是怎么回事?
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
MessageBox.Show("Welcome to c# Programming!");
}
}
}
在上面的程序编译时,出现如下错误:
错误 1命名空间“System”中不存在类型或命名空间名称“Windows”(是缺少程序集引用吗?)
请问高手这是怎么回事?
解决方案 »
- 请教一个WinForm遇到的问题(标题栏显示无响应)
- 如何用正则表达式判断字符串中是否具有重复字符
- adRotator控件读取xml中某一个广告节问题。
- 求免费的英语分词组件或代码?
- 通过datagridview更新数据库,我用dataadapter的update()方法但是出错误
- 关于 连接数据库查询的问题
- 一个设计思路的问题
- 如何生成系统默认Unicode字符编码编码的txt文件
- ole db 连接db2问题
- 怎樣將服務器上的word文件在网頁上打開,以word文件格式顯示在网頁上,包括菜單項,然后.....
- 紧急:请问大家,怎么用C#程序读取数码相机中的照片?
- Socket通信寻求解决办法
在“解决方案资源管理器”的“引用”中添加对System.Windows.Forms的引用...
MessageBox