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
What does mvvm mean?
Explain Keep method in Tempdata in ASP.Net MVC?
explain why t4 entity is important in entity framework?
What are actions in asp.net mvc?
What is an asynchronous controller in asp.net mvc?
What is Attribute Routing in ASP.Net MVC?
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 do you specify comments using razor syntax?
What is iobjectset? : Entity framework
what is code first approach?
Does Tempdata hold the data for other request in ASP.Net MVC?
Explain JSON Binding?
Briefly describe the roles of clr in .net framework?
What are ajax helpers in mvc?
What is attribute routing in mvc?