|
-
October 14th, 2009, 06:12 PM
#1
Question about main function
I have often seen code something similar to
class Program
{
static void Main(string[] Args)
{
(new Program()).run();
}
public void run();
{
//code generally seen in main function;
}
}
Can anyone tell me what is the purpose for following such a method of coding and what are the advantages disadvantages for the same?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|