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
Can a class have static constructor?
What is the ouput of the following program?
What is an escape sequence in c#?
What's the difference between a method and a procedure?
Is arraylist type safe in c#?
What do you mean by casting a data type?
What is an inheritance ?Give an example in which inheritance is used?
Is list passed by reference c#?
What does static mean in c sharp?
What is the relationship between a process, application domain, and application?
Can a dictionary have the same key?
Is it possible to have different access modifiers on the get/set methods of a property?
What are the 2 kinds of data type conversions in c#?
Explain the concepts of cts and cls(common language specification).
What is ildasm and obfuscator in net?