这个咋办啊
visual吧
全部回复
仅看楼主
level 1
错误 1 命名空间“System.Windows.Forms”中不存在类型或命名空间名称“SystemInformation”。是否缺少程序集引用?
代码如下
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; namespace P1_2
{
public class Program
{
public static string GetName(string[] args)
{
return System.Windows.Forms.SystemInformation.UserName;
}
}
}
2013年03月18日 13点03分 1
1