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 the differences between an interface and an abstract class in .net?
Is .net an object oriented language? What are their components?
What's typical about a windows process in regards to memory allocation in .net?
What is garbage collection and how it works ?
What is an exe and a dll?
Explain what relationship is between a process, application domain, and application?
What is Complex Class in .NET?
Who is using .net core?
What is the advantage of .net?
Is .net a language?
What is the need of OLE-automation?
Why do we use the “using” statement?
What is your observations between vb.net and vc#.net?
What is Ajax? How it is related to your project?
What is an anonymous method?