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 are the types of comment in c# with examples?

0 Answers  


What is difference between a function and a method?

0 Answers  


Explain the use of virtual, sealed, override, and abstract method?

0 Answers  


Do loops in c#?

0 Answers  


Is it possible to implement an interface to a structure? Is it possible to extend a struct? Is it possible to inherit a class to struct?

9 Answers   IBM, Logica CMG, TCS,


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

0 Answers   Satyam,


Explain what is an interface in c#?

0 Answers  


What are the types of class in c#?

0 Answers  


What do you know about device context?

0 Answers   C DAC,


What?s an abstract class?

4 Answers   NIIT,


What happens in synchronisation?

2 Answers   Tech Mahindra,


About Virtual functions and their use ?

13 Answers   MBITS, MMTS,


Categories