这个问题在这里已有答案:
我试图传递两个参数,如:
static void Main(string[] args,string NewReportID)
但是我收到错误声明“主要有错误的签名是入口点”。有一个更好的方法吗?
"Main has the wrong signature to be entry point"意味着Main只需要一个参数
"Main has the wrong signature to be entry point"
Main
移动你的NewReportID在args
NewReportID
args