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
Does the system.exception class have any cool features?
Tell me the difference between value passing and address passing?
What is the use of readkey in c#?
What is data binding with example?
What is system predicate?
What is default c#?
What is an object pool in .net?
What is use of console?
Can constructor be private c#?
What is the implicit name and type of the parameter that gets passed into the class set method?
What happens if you add duplicate elements to a set?
Are tuples mutable c#?
how encapsulation is implemented in c#
Name the two classes are required for implementing a windows service?
What is the difference while using directive vs using statement ?