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
Explain get and set accessor properties?
Define sealed classes in c#?
Is string a primitive data type in c#?
Why do we use readonly in c#?
List down the different ide’s provided by microsoft for c# development.
What is a c sharp?
What is class in oops with example in c#?
Why is .net so popular?
How can we set class to be inherited, but prevent the method from being over-ridden?
Explain dataadapter.update method in .net?
What is difference between out and ref in c#?
What is default access specifier for class in c#?
What is xpath in c#?
Define Final Class in C#
What is static classes?