Difference between the const and readonly
Illustrate the difference between the const and readonly?
Expert
The readonly keyword is distinct from the const keyword. The const field can just be initialized at the declaration of field. The readonly field can be initialized either at declaration or in a constructor. Thus, readonly fields can encompass various values based on the constructor used. As well, while a const field is a compile-time constant, the readonly field can be employed for runtime constants as in the given illustration:
public static readonly uint l1 = (uint) DateTime.Now.Ticks;
Why do we require the nested master pages in the Web site?
Illustrate the terms Persistent cookie as well as Session cookie?
What is data type and how many types of data types are there in .NET ?
Is it possible to declare a private class in a namespace?
State some of the use of ScriptManager control in the AJAX?
What is WSDL?
Specify the pre-requisites for connection pooling?
Mention the basic steps to perform the LINQ query.
Name and describe some of the exclusive characteristics which are present in the VB?
Illustrate the difference between the XML ‘Fragment’ and an XML ‘Document’.
18,76,764
1929544 Asked
3,689
Active Tutors
1434614
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!