代碼正確,但提交后顯示的是這樣的錯(cuò)誤,是什么原因呢?
error CS5001: Program `Program.exe' does not contain a static `Main' method suitable for an entry point Compilation failed: 1 error(s), 0 warnings
為什么我會(huì)出現(xiàn)這樣的錯(cuò)誤?
error CS5001: Program `Program.exe' does not contain a static `Main' method suitable for an entry point Compilation failed: 1 error(s), 0 warnings
為什么我會(huì)出現(xiàn)這樣的錯(cuò)誤?
2018-05-04
舉報(bào)
2019-05-13
沒問題,運(yùn)行好著呢!
2018-05-04
using System;
using System.Collections.Generic;
using System.Text;
namespace Test
{
??? class Program
??? {
??????? static void Main(string[] args)
??????? {
??????????? char[,] ch = { {'我','是','軟'},{'件','工','程'},{'師','啦','!'}};
??????????? Console.WriteLine("{0}{1}{2}",ch[1,1],ch[1,2],ch[2,0]);
??????? }
??? }
}
這是我的代碼