Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
Explain the difference between “constant” and “rea...
1.
Explain the difference between “constant” and “read-only” variables used in C#?
Answer»
S.no
Constant variables
Read-only variables
1.
Declared at
COMPILE
time
Used to
ASSIGN
a
VALUE
at
RUN
time
2.
Value cannot be
CHANGED
Value can be changed
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What do you mean by stack and heap in C#?
How can we sort an array in C#?
Explain nullable types in C#?
What is Thread and explain states of a thread in C#?
Explain the difference between “as” and “is” operators used in C#?
Explain the difference between “System.Array.Clone()” and “System.Array.CopyTo()” in C#?
What do you mean by Synchronous and Asynchronous operations?
What do you mean by Delegates and explain different types of Delegates?
What do you mean by Parsing and how to Parse a Date Time String in C#?
Please explain the basic String Operations used in C#?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies