Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




Difference b/w readonly & constant variable

Constant:

Can not be static. Value is evaluated at compile time. Initiailized at declaration only.

Readonly:

Can be either instance-level or static. Value is evaluated at run time. Can be initialized in declaration or by code in the constructor.

Share this article   |    Print    |    Article read by 2068 times
Author:
Guest
Guest user is that user who have done some activity on website without login. Activity contains commenting on any article, uploading an image on website etc.
Related Articles: No related article
Related Interview Questions: