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;
Is it possible to set which kind of comparison we want to perform by the CompareValidator control?
By which method we can add or remove rows from a DataTable object of DataSet?
Illustrate the terms Persistent cookie as well as Session cookie?
List the services which are offered by the Window Azure operating system?
Describe the term Address, Binding and contract for WCF Service?
Describe the relationship between an object and the class?
What is Code Access Security (CAS)?
Briefly describe the properties in C# and state the advantages which are attained by using them in programs?
Explain the term multilingual Web site?
Illustrate the basic difference between the PenLineCap's Flat and Square values?
18,76,764
1959070 Asked
3,689
Active Tutors
1454213
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!