why we can't create an object for a static class??
what is the reason behind this?

Answer Posted / rahul

Because static method will have defined / stored entry point.
so while calling it , it's entry point is sufficient , without creating an object.
that's why no need to create object

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are classes in c#?

575


Explain the process of polymorphism with an example?

466


Which is better javascript or c#?

499


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

497


What is difference between array and arraylist c#?

455






What is the meaning of extention?

480


Explain About sn.exe

498


What is data type in c# with example?

521


What is the use of inheritance in c#?

480


What problem does Delegate Solve?

564


What is window application in c#?

494


How do destructors and garbage collection work in c#?

530


What is a console application in c#?

446


What is serializable in c#?

490


What is inline function in c#?

506