What is difference between constants, readonly and, static



What is difference between constants, readonly and, static..

Answer / kirti

Constants: The value can�t be changed

Read-only: The value will be initialized only once from the constructor of the class.

Static: Value can be initialized once.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What does assemblyinfo.cs file consists of ?

1 Answers   Accenture, BirlaSoft,


How does assembly versioning work?

1 Answers  


Difference between Dispose and Finalize method

1 Answers  


How do I use partial view?

0 Answers  


What are the different authentication modes in the .NET environment?

2 Answers  


Tell me the best web-sites for Learning the ASP DOT NET.

3 Answers  


can we call the garbage collector to run explicicitly?

6 Answers   Kanbay, Volvo,


What are the components of the .net framework.

0 Answers  


What is CLR and how it generates native code ?

1 Answers   Digital GlobalSoft, Vital Soft,


What is the main difference between VS 2005 and VS 2003?

5 Answers   CTS, Satyam,


What is the difference between viewbag and viewdata in mvc?

0 Answers  


What is Area in ASP.Net MVC?

0 Answers  


Categories