Effective C#之7:Prefer Immutable Atomic Value Type
Item7 :PreferImmutableAtomicValueType优先考虑具有不可变性的原子性的值类型Immutabletypesaresimple:Aftertheyarecreated,theyareconstant.Ifyouvalidatetheparametersusedtoconstructtheobject,youknowthatitisinavalidstatefromth