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
Do you know what is garbage collector?
Explain me what is a design pattern and what is it for?
What is web.config in .net?
what will do to avoid prior case?
What is the difference between reference type and value type?
How can you instantiate a tuple?
What is the use of common language runtime?
What is .net code security?
Explain how to produce an assembly?
What is typical about a windows process in regards to memory allocation in dot net?
What is a .DLL and .EXE files called in .NET?
How many types of transactions are there in com + .net ?
Explain how to load the contents of an xml file into an xmldocument object?
What is static constructor, when it will be fired? And what is its use?
What's the problem with .net generics?