你的C#中有main函数吗?这是C#的启动函数,必须有的,除非你的不是应用了。
解决方案 »
- 另一个进程正在使用此文件,因此该进程无法访问此文件。
- VS2012使用类库的奇怪问题
- 【WEB】保存bitmap 出问题,修改过2次的图片,只还原到第二次,请教
- WinForm程序中DataGridView.SelectedRows[0]和DataGridView.CurrentRow有什么相同点和不同点
- 跪求一个解决思想,高人务必出手相助!!!
- object [ ] values = List.ToAray(typeof(object))
- c#中tcp/ip 编程中服务器端如何获得客户端的IP
- 天行点歌问题
- 请教:如何在子窗口中使用父窗口中的listview控件?!
- 自定义NameSpace问题---急!
- Xml数据库的结构问题
- 我的机器上的asp.net老是出这种错误,是怎么回事?
using System;
class Welcome1
{
static void Mian(){
Console.WriteLine("Please enter your name:");
string message="Welcome to you"+Console.ReadLine();
Console.WriteLine(message);}
}
class Welcome1
{
static void main(){
Console.WriteLine("Please enter your name:");
string message="Welcome to you"+Console.ReadLine();
Console.WriteLine(message);}
}
这是改后的好像还是不行
class Welcome1
{
public static void Main(){
Console.WriteLine("Please enter your name:");
string message="Welcome to you"+Console.ReadLine();
Console.WriteLine(message);}
}