can we access main() using objects?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of comments in c#?

733


Can a sealed class be used as a base class?

697


What does it mean?

705


Is c# strongly typed?

624


What is extension method in c# and how to use them?

657


What is the difference between struct and class c#?

700


What are regular expressions? Search a string using regular expressions?

687


Will the following code compile?

730


What is the meaning of extention?

663


Is a games console a computer?

665


What is desktop example?

677


What does private void mean in c#?

746


Define property in c#.net?

694


What is foreach loop in c#?

701


Define xslt.

716