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;
Name the data type which the RangeValidator control supports?
Explain the term Data Encapsulation?
What setting should be added in a configuration file to reject the particular user from accessing secured resources?
Define the terms Web server controls and Custom user Controls in Asp.net?
By what way we can display a default value in a text box of the input box?
Explain Windows services?
Write the difference between server-side validations and client-side in Web pages?
What do you understand by the garbage collection? Explain the difference between garbage collections in .NET 4.0 and its earlier versions.
Explain why SiteMapPath control is being referred as eyebrow or breadcrumb navigation control?
Write about the classes are supported to make an XML DOM?
18,76,764
1934139 Asked
3,689
Active Tutors
1454180
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!