« Understanding Windows Forms layout and Dock behavior. | Main | Simple EventLog entry writing »

TextBox.Lines property makes a deep copy on both set and get.

Its odd that such a key aspect of knowing how to use a control correctly has to be determined experimentally, but there it is:

 

TextBox.Lines property makes a deep copy on both set and get.

 

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)