What is the Difference between read only and constant
variables?
Answer Posted / guest
Read only variable can be assigned a value at the runtime.
Where as const have to be assigned at the compile time only.
| Is This Answer Correct ? | 64 Yes | 5 No |
Post New Answer View All Answers
can you allow a class to be inherited, but prevent the method from being over-ridden?
What is static and use of it?
What is variable and its classification?
Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?
What is object pool in .net?
What are delegates in C#?
What does an indexer do?
What is object array in c#?
What is asynchronous one-way calls?
What is xpath in c#?
Can we inherit private class in c#?
What are the boolean data types in c#?
Why do we use lambda expression in c#?
What is datacontract in c#?
What is assembly version series sequence?