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


Please Help Members By Posting Answers For Below Questions

Is mvc 4 supporting windows azure sdk (software development kit) ?

767


What is mvc entity framework?

720


What is the mvc pattern (model view controller pattern)?

776


why DotNetFramework is included in building a software

2443


What operating systems will the .net framework 3.0 be available for?

789


What are the Core features of ASP.NET MVC?

812


What is difference between razor and web form engine?

765


What is .net framwork?

740


What is .net architecture?

744


explain how you can load related entities in ef (entity framework)?

757


What is iobjectset? : Entity framework

767


What is display mode in mvc?

757


What is the meaning of unobtrusive javascript?

768


What is the "helperpage.isajax" property?

890


What are the sub types of ActionResult?

815