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 an actual parameter?

488


How do you create user defined data types in c#?

523


Which of the following operations can you not perform on an ado.net dataset?

510


Which string method is used for concatenation of two strings in c#?

469


What do you mean by jagged array?

485






Can abstract class instantiated c#?

494


What language is arduino?

526


Explain code compilation in c#.

522


What is transparent caching with aop ?

622


Which is better interface or abstract class in c#?

440


Is collection a data structure?

542


Is nullable type c#?

488


Differentiate between static class and singleton instance?

517


What is clr namespace?

488


Is arraylist type safe in c#?

497