what is read only and constant

Answer Posted / aravind

constant : it ll take the values at compile time ,,in
constant u cant change values .....


Read-Only : i ll take values at run time espessailly u can
use this for date functions

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wpf c#?

500


Explain the OOPS concept in C#?

583


Please write a program to display “welcome to bestinterviewquestion.com” in c#?

535


What is meant by clr?

574


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1496






What is difference between variable and property in c#?

434


Does hashset allow duplicates c#?

522


What is the difference between a constant and a static readonly field?

532


What is a scope in c#?

484


How is a strongly-named assembly different from one that isn’t strongly-named?

611


What is using keyword in C#?

573


Are tuples immutable c#?

509


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

1536


What are the drawbacks of extending an interface as opposed to extending a class?

476


Constructor to an arbitrary base constructor?

564