why we can't create an object for a static class??
what is the reason behind this?
Answer Posted / pushparaj pentakota (anakapall
static blocks and static classes are executed before
constructor execution but object can be created while
executing the constructor only but static blocks are exected
before executing construtor so we can't create an object on
static classes.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to override a function in c#?
How to declares a two-dimensional array in C#?
What are generations and how are they used by the garbage collector?
What is the compiler of c#?
Is c sharp open source?
What is the difference between const and static read-only?
What is private class in c#?
What is dbml file in c#?
Why do we use ienumerable in c#?
What are the advantages of interface in c#?
What is ispostback c#?
What is a int in c#?
How do you sort a list in c#?
What is c sharp used for?
What is difference between Trace and Debug