What is a static constructor
What is a static constructor and also explain its features?
Expert
Static constructors are set up with C# to initialize a static data of the class. CLR calls a static constructor before first instance is created. The static constructor has the following features:
i. A class can have only single static constructor. ii. Access specifier is not required to define it. iii. It can access only static members of the class. iv. It is invoked only one time, when a program execution begins. v. We cannot pass parameters in the static constructor.
Briefly describe about variable.
What do you understand by the term states in ASP.NET?
Illustrate the terms User Control as well as Custom Control?
State some of the different ways in order to pass parameters to the server?
Can a private class be declared in a namespace?
Can more than one line be entered in a TextBox control?
What is the difference between HTTP-Post and HTTP-Get?
What is the concept of CAS?
How we can enable impersonation in the web.config file?
Explain the syntax of the “for” loop.
18,76,764
1925119 Asked
3,689
Active Tutors
1435936
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!