concept Currency in category .net

This is an excerpt from Manning's book Dependency Injection in .NET.
The Currency class is another abstract class that provides conversion rates between itself and other currencies:
Currency is an ABSTRACTION that models a currency.
Listing 4.7. Currency
public abstract class Currency { public abstract string Code { get; } public abstract decimal GetExchangeRateFor( string currencyCode); }The Code property returns the currency code for the Currency instance. Currency codes are expected to be international currency codes. For example, the currency code for Danish Kroner is DKK, whereas it’s USD for US Dollars.
The GetExchangeRateFor method returns the exchange rate between the Currency instance and some other currency. Notice that this is an abstract method, which means that I’m making no assumptions about how that exchange rate is going to be found by the implementer.
In the next section, we’ll examine how Currency instances are used to convert prices, and how this ABSTRACTION can be implemented and wired up so that you can convert some prices into such exotic currencies as US Dollars or Euros.