My archive of working solutions of programming problems
2021/09/09
Custom immutable class MoneyAmmount using class Immutable
Warrning:
If u want to publish in your class some collection property u should use Immutable.Clone() method to prevent from casting fg ReadOnlyCollection to List by client and change real published collection objects states
No comments:
Post a Comment