What is the Difference between read only and constant
variables?

Answer Posted / shyam

Constant Value will be same across all Objects , Read Only variable can have different value in different object of class...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Java and .NET garbage collectors?

509


What are access modifiers in c#?

552


What is class and object c#?

487


What is an icollection in c#?

491


What are instance fields in c#?

541






What is the difference between == and object.equals?

505


What are the different states of a thread?

532


What is a decimal c#?

472


What is the difference between a variable and a literal?

539


What is a trace and asset? Explain some differences?

703


What is the difference between function and method in c#?

453


Name some properties of thread class.

554


What is int tryparse in c#?

522


In how many ways you can overload a method?

588


What is console write in c#?

496