GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#
Go To First  |  Previous Question  |  Next Question 
 C#  |  Question 368 of 436    Print  
Who calls the main method ??

  
Total Answers and Comments: 8 Last Update: February 03, 2008     Asked by: om 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 13, 2006 02:49:23   #1  
SAMEER        

RE: Who calls the main method ??
Operating System Calls the Main Method.
 
Is this answer useful? Yes | No
October 20, 2006 08:34:49   #2  
Prasad        

RE: Who calls the main method ??
I think the .NET runtime (CLR) should call the main method. Because every .NET program is managed by the CLR that is why we some times call it as managed code.
 
Is this answer useful? Yes | No
October 31, 2006 17:02:27   #3  
R.Aryal        

RE: Who calls the main method ??

It seems CLR calls Main() in C# primarily. However CLR sits on the top of Operating System so one can also say - OS calls Main() as in C.


 
Is this answer useful? Yes | No
December 09, 2006 06:56:24   #4  
chetan        

RE: Who calls the main method ??
Actually From My Point Of View When Any .Aspx page Is Called by Cosumer First Of all IIS Recognize That Page as .Aspx File And Send It to aspnet+isapi.ddl to Deal with It.
 
Is this answer useful? Yes | No
December 21, 2006 05:13:03   #5  
mohan        

RE: Who calls the main method ??
The CLR calls Main() when your program starts.
 
Is this answer useful? Yes | No
March 16, 2007 12:15:43   #6  
nishanthnair        

RE: Who calls the main method ??
The one and only CLR. OS dont know what is happening. :)
 
Is this answer useful? Yes | No
January 28, 2008 02:30:33   #7  
subramanyam1981 Member Since: January 2008   Contribution: 1    

RE: Who calls the main method ??
the CLR calls the main method. operating system has nothing to do with.
 
Is this answer useful? Yes | No
February 03, 2008 09:05:12   #8  
sarnam Member Since: February 2007   Contribution: 14    

RE: Who calls the main method ??
CLR is the correct answer
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape