Click here to Skip to main content
15,920,053 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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)
Posted

Page??? What are you talking about?
A console application has one entry point[^] that's it (basically).

Cheers!

--MRB
 
Share this answer
 
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?
 
Share this answer
 
start here :thumbsup:
MSDN[^]
-ambi-
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900