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
What is attribute and reflection in c#?
What is lazy in c#?
What are the Types of assemblies that can be created in dotnet
What is the main method in c#?
What is private protected in c#?
What is the use of console readline () in c#?
What are Memory foot print of an exe?
What is typeof undefined?
What is string class in c#?
What do you mean by stack and heap in c#?
What is a Managed Code??
What is a partial method?
What is the and operator in c#?
So what makes your code really object-oriented #?
What is virtual in c#?