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
What is Peek method in Tempdata in ASP.Net MVC?
Can you set the unlimited length for "maxjsonlength" property in config?
What is .net architecture?
What is session state management?
What is the 'page life cycle' of an ASP.NET MVC?
What is viewbag?
What is entity framework used for?
What is needed for running an application built on winfx on the .net framework 3.0?
What is viewstart page in mvc?
How to bind table colum with gridview column?
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?
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?
how can you tell ef to have a different table or column name than that defined for the class?
Where are the routing rules defined in an asp.net mvc application?
Explain the difference between viewbag and viewdata in mvc?