What are the benefits of having a member variable declared as read only? Is it just protecting against someone changing its value during the lifecycle of the class or does using this keyword result in any speed or efficiency improvements?

14 Answers
14

Leave a Reply

Your email address will not be published. Required fields are marked *