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

1) how to delete duplicate records from table in sql server 2005 2) what is run time polymorphism

4 Answers   HCL, IBM, L&T,


what is the difference between arraylist and hash table using a simple program?

3 Answers   CGI, Polaris, SunGard,


What are some of the commonly used commands in sqlcommand?

0 Answers  


Advantages of c# over vb.net?

3 Answers   HCL, Syntel,


Write the syntax for catching an exception in c#?

0 Answers  






What does static mean in c sharp?

0 Answers  


What is immutable in C#?

0 Answers   SwanSoft Technologies,


Assignment # 1 Print the pattern given below using single printf statement XX XX XX XX XX XX X X X X XX XX XX XX XX XX Assignment # 2 Print the pattern given below using single printf statement (please do NOT use the string function below) 0 909 89098 7890987 678909876 56789098765 4567890987654 345678909876543 23456789098765432 1234567890987654321

3 Answers   Wipro,


How long does a loop recorder procedure take?

0 Answers  


list the steps in code compilation in c#?

0 Answers  


In c# how to connect crystal report?

2 Answers  


What is the difference between list and dictionary in c#?

0 Answers  


Categories