public static void Main()
Console.WriteLine("Hello World");
public class InvestmentAccount
public Dictionary<string, long> AssetAllocations {get; private set;}
public void Deposit(long depositAmount)
var newAssetAllocations = AssetAllocator.AllocateConservatively(depositAmount);
UpdateAssetAllocations(newAssetAllocations);
private void UpdateAssetAllocations(Dictionary<string, long> allocations)
public static class AssetAllocator
public Dictionary<string, long> AllocateConservatively(long amount)