can we access main() using objects?



can we access main() using objects?..

Answer / ravi maheshwari

We can't access main() using objects. Because Main() is a
Static function. And Static function is call our self when
page is load.

Is This Answer Correct ?    14 Yes 2 No

Post New Answer

More C Sharp Interview Questions

What is console write in c#?

0 Answers  


What is the difference between asp net and c#?

0 Answers  


WHAT IS THE EXACT USE OF INTERFACE(DONT TELL USE FOR MULTIPLE INHERITANCE)

5 Answers   eXensys,


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

0 Answers  


What is windows application in c#?

0 Answers  






What is expression tree with example?

0 Answers  


Do while loops yes or no c#?

0 Answers  


What is manifest ?

3 Answers   Digital GlobalSoft,


What is private constructor c#?

0 Answers  


What is the difference between TypeOf and GetType?

4 Answers   Syntel,


If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

1 Answers  


What?s a satellite assembly?

1 Answers  


Categories