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


Please Help Members By Posting Answers For Below Questions

Explain about Destructor method?

548


Define satellite assembly in c#?

488


What is the difference between list and arraylist in c#?

416


What is meant by unicode characters?

566


Can abstract class have constructor c#?

467






Which is faster dictionary or hashtable?

443


Is c# pass by reference?

504


Is an interface a type c#?

515


What is a dictionary in c#?

497


What is hashtable c#?

473


Is c# queue thread safe?

502


What is the benefit of interface in c#?

477


What is a generic c#?

495


What is type class in c#?

496


How big is a float?

503