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 view model in c#?

0 Answers  


What is meaning of type safety in c#?

0 Answers  


What is difference between var dynamic and object in c#?

0 Answers  


FOR EXAMPLE : CLASS Dotnet { } creating object: Dotnet dn=new Dotnet(); NOW THE QUESTION IS WHICH IS CALLED AS OBJECT ? EITHER dn OR new Dotnet() and CAN YOU PROVE YOUR ANSWER????? PLEASE REPLY...

2 Answers  


Explain acid rule of thumb for transactions in c#.

0 Answers  






Why we use extension method in c#?

0 Answers  


What are properties in C#?

0 Answers   UGC Corporation,


What is the difference between dynamic type variables and object type variables in c#?

0 Answers  


What is collection class c#?

0 Answers  


What are Types of assemblies that can be created in dotnet

0 Answers  


What?s a delegate?

3 Answers  


Explain the difference between “as” and “is” operators used in c#?

0 Answers  


Categories