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
How many bytes is a long c#?
Can c# inherit multiple classes?
Can we create instance of private class in c#?
What is interface inheritance in c#?
What is the syntax for calling an overloaded constructor within a constructor?
Why does dllimport not work for me?
What is linq c#?
What is dapper in c#?
Describe the ways of cleaning up objects in c#.
What are the differences between events and delegates in c#?
What are All kind of access specifiers for a class and for methods
What is static void main in c#?
What are generics in c#.net?
What are delegates and why are they required?
Can we inherit static class in c#?