J
jjmraz
Hi,
I have the beginning of an Interface class that has this in it.
namespace Samples.Money
{
/// <summary>The common interface for simple Monies and
MoneyBags.</summary>
interface IMoney
{
/// <summary>Adds a money to this money.</summary>
IMoney Add(IMoney m); <- Here
I am wondering what is happening by supplying IMoney type to the
functions signature?
Why would u code something like this? What scenarios would this be good
for?
Thanks,
J
I have the beginning of an Interface class that has this in it.
namespace Samples.Money
{
/// <summary>The common interface for simple Monies and
MoneyBags.</summary>
interface IMoney
{
/// <summary>Adds a money to this money.</summary>
IMoney Add(IMoney m); <- Here
I am wondering what is happening by supplying IMoney type to the
functions signature?
Why would u code something like this? What scenarios would this be good
for?
Thanks,
J