Wednesday, January 28, 2015

Why readonly in C#?

Make summary form following post:
http://stackoverflow.com/questions/277010/what-are-the-benefits-to-marking-a-field-as-readonly-in-c

1. Improve readability: tell how to not use in other way.
2. Nothing to do with performance
3. Immutable data structures in threading