我编写好的C#文件放在C#编译器中调试不成功!提示说"
warning CS1668: “LIB 环境变量”中指定的搜索路径“D:\VC98\mfc\lib”无效
--“系统找不到指定的路径。 ”
warning CS1668: “LIB 环境变量”中指定的搜索路径“D:\VC98\lib”无效
--“系统找不到指定的路径。 ”
error CS5001:
程序“d:\vs2005\SDK\v2.0\welcome.exe”不包含适合于入口点的静态“Main”方
法
"
这是什么原因啊啊啊?
warning CS1668: “LIB 环境变量”中指定的搜索路径“D:\VC98\mfc\lib”无效
--“系统找不到指定的路径。 ”
warning CS1668: “LIB 环境变量”中指定的搜索路径“D:\VC98\lib”无效
--“系统找不到指定的路径。 ”
error CS5001:
程序“d:\vs2005\SDK\v2.0\welcome.exe”不包含适合于入口点的静态“Main”方
法
"
这是什么原因啊啊啊?
main 方法有写么
我写的原代码是这样的啊:
using System;
class welcome
{
static void main()
{
Console.WriteLine("Please enter your name:");
Console.ReadLine();
Console.WriteLine("Welcome to you!");
}
}
我保存的文件名是:welcome.cs