Hello , i have a question about CA1819 msdn performance warning.
The rule is:
Arrays returned by properties are not write-protected, even if the property is read-only. To keep the array tamper-proof, the property must return a copy of the array. Typically, users will not understand the adverse performance implications of calling such a property. Specifically, they might use the property as an indexed property.
Is this rule valid for other objects too, or it is only for arrays, and if it's only for arrays why?
Thanks in advance.
Kriss