Answer Posted / rafi
if we use constantat first only value should be assigned
where as
in readonly the value can be assigned any time but it
should not be modified
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is a Assembly?
In .NET how can you solve the DLL Hell problem?
Is c# lazy thread safe?
What is array and types of array in c#?
What is enumerable in c#?
Why is c# better than java?
Tell me the difference between call by value and call by reference.
List down the access modifiers available in c#?
What are the types of delegates in c#?
What is the difference between Decorator and Adapter pattern?
Is c# used for frontend or backend?
windows c# using datagridview in edit form sql server
What is difference between dictionary and hashtable in c#?
What is the difference between static and private constructor in c#?
How to assign Null value to Var?