What is the Difference between read only and constant
variables?
Answer Posted / pankaj
Readonly variable can be assigned in run time but constant
variables cnt assign at run time.constant variables is
assigned at compile time only
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What are the different types of literals in c#?
Can you store different types in an array in c#?
What is an inheritance in c#?
What are the Types of caching
What is typeof undefined?
What is boxing and unboxing in c#?
If the original method is not static you can declare an override method to be static or not?
Explain the role of Garbage collector and its generations?
What are the types of operator?
What is generic types in c#?
What is an indexer in c#?
Is c# pass by reference?
Which is better javascript or c#?
What is an iqueryable in c#?
What is the use of main method in c#?