using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JAMK.IT { public static class CurrencyManager { public static List GetCurrencies() { List valuutat = new List(); valuutat.Add(new Currency() { Name = "USD", Value = 0.8975F }); valuutat.Add(new Currency() { Name = "SEK", Value = 0.111F }); valuutat.Add(new Currency() { Name = "GBP", Value = 1.150F }); return valuutat; } } public class Currency { public string Name { get; set; } public float Value { get; set; } } }