Can Static Constructor be Overloaded?Justify it?
Answer Posted / nishant
No Way..it can not be overloaded as it won't accept any parameter.
In case you try to provide any parameter in the static constructor it will give you following error ...
Error : " a static constructor must be parameterless"
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the advantages of asp.net mvc over asp.net?
What is viewbag?
Explain entity lifecycle? : Entity framework
What is namespace of asp.net mvc?
Mention two instances where routing is not implemented or required?
Explain the use of Inversion of control (IOC)?
What is connected scenario? : Entity framework
How to answer for project questions..?
What is ViewData and TempData in ASP.Net MVC?
Explain something about model, view and controllers in asp.net mvc?
How does the .net framework 3.0 relate to windows vista?
When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?
What is MVVM design pattern?
what do you mean by table-per-type?
Can we free memory explicitly without waiting for garbage collector to free the memory in .net compact framework?