Can Static Constructor be Overloaded?Justify it?
Answer Posted / sreegeetha
No, Static constructors cannot be overloaded it is used to
initialize static data....
example:
public class bus
{
static bus()
{
console.writeline("involked");
}
public static void my()
{
console.writeline("haii");
}
main()
{
bus.my();
}
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
List the new features added in .net framework 4.0.
Explain what is the difference between view and partial view?
How we can invoke child actions in ASP.Net MVC?
Is dapper better than entity framework?
Explain something about model, view and controllers in asp.net mvc?
What is the .net framework?
Explain tempdata in mvc?
Explain the advantage of packaging over xcopy in .net?
How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?
Explain JSON Binding?
Which .net framework is installed?
What is oauth in web api?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
What is .net architecture?
Explain how you can send the result back in JSON format in MVC?