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;
Explain the types of Inheritance.
Explain the characteristics of the value-type variables which are supported in a C# programming language.
List the difference between points, pixels, and em's at the time when fonts are displayed?
What is meant by the Managed Extensibility Framework?
What is HTML server control in ASP.NET?
Explain the use of Role-based security?
What do you understand by the term ASP.NET Web Forms?
What is meant by the term workflow?
What is AccordionExtender control?
Explain types of XML Application Programming Interface (API).
18,76,764
1922816 Asked
3,689
Active Tutors
1450765
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!