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
What are situations when you register .NET assembly in GAC ?
What is namespace in .net?
What is the single responsibility principle?
What is meant by globalization and localization?
What is the best way to crack the certification?
Explain how to rename a table using sql queries?
Explain the process of serialization in .NET?
What is 3 tier architecture?
Define marshling?
What is the difference between .net 2000 and .net 2005(features)? Which one is better?
What is iis? Have you used it?
What is an exe and a dll?
Is .net a programming language?
Explain the main components in .net?
Tell us what is the difference between struct and class?