Answer Posted / pavan
both of them does the same work these value cannot be
changed
but with a samll difference
using const we can assign a value before compile time
but using readonly we can assign value to the varible ones
in runtime
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Can a dll be changed to an exe?
How do you trigger the paint event in system.drawing?
What is a variable of implicit type and what is its scope?
Explain what is the difference between a class and an object?
Explain about .Net products?
what user controls are and what server controls are and the differences between the two.
Is .net a programming language?
Explain me difference between public and static modifiers?
What is difference between static page and dynamic page?
What is .net debug & trace?
What is a garbage collector?
Explain soap and xml?
Tell us what is heap and what is stack?
Types of evidence in .net with context to CAS
Tell us why do we use the “using” statement?