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 we change static value in c#?
Can you instantiate a struct without using a new operator in c#?
Can we make a class private in c#?
Can I use exceptions in c#?
How to block a class from being inherited further?
Can struct inherit from class c#?
What is strongly typed in c#?
How do you specify a custom attribute for the entire assembly?
What is Inheritance in C#?
how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com
What are the different types of constructors?
What is nullable types in c#?
Please explain value types and reference types used in c#?
Why do we Need of static class in c#?
What is application c#?