Felice (8) [Avatar] Offline
#1
Hi Mark,

although that is not a question due to DI, I would like to know whether you had a special reason in mind to implement Money as a class rather than a struct?


Felix
mark.seemann (383) [Avatar] Offline
#2
Re: Money Implementation
My motivation back then was that I thought it was unnatural to do that because it would mean that the value type contained a reference type.

However, as I've later found out, it's more complicated than that: http://stackoverflow.com/q/5620843/126014

HTH
Felice (8) [Avatar] Offline
#3
Re: Money Implementation
Once more I thank you very much for answering.