控制台应用程序基本问题? [英] Console application bacis question?
本文介绍了控制台应用程序基本问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们在多少页中使用此代码?
表示我正在创建另一个页面,并且当我删除其中一个页面然后运行代码时发生错误,您能告诉我何时打开控制台应用程序,然后默认情况下仅使用此页面,还是可以创建更多页面?使用下面给出的代码
static void Main(string[] args)
in how many page we user this code ??
means i am create another page and error occure when i am delete one of them then code is run can u tell me when we open console application then we take only by default this page or we can create more pages? with the code given below
static void Main(string[] args)
推荐答案
这将消除您的疑问
http://social.msdn.microsoft.com /Forums/zh-CN/netfxcompact/thread/f009838d-5bfc-44fd-ab7e-1f5e4988cacb/ [
This would clear your doubts
http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/f009838d-5bfc-44fd-ab7e-1f5e4988cacb/[^]
页面???你在说什么?
控制台应用程序具有一个入口点 [
Page??? What are you talking about?
A console application has one entry point[^] that''s it (basically).
Cheers!
--MRB
Main
是每个程序的单个入口点,并且在对象模块中必须是唯一的,以用于链接程序将代码修复到框架中.
考虑一栋三门都标有入口"的房子;您怎么知道哪种方法正确?
Main
is the single entry point of every program, and must be unique within the object module(s), in order for the linker to fix the code into the framework.
Consider a house with three doors all labelled "Entrance"; how would you know which was the correct way in?
这篇关于控制台应用程序基本问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文