Sirko


Comments:

How to determine whether a property or a method is more appropriate

posted by SirkoSirko(105) 4 years, 7 months ago 0

Common sense should be used when applying any guidelines. These are guidelines not strict rules.

Regarding returning array: IMHO if by desing it is acceptable that array/collection will be modified by external code, then I think member can be implemented as property (every rule has an exception).

Reply