private readonly List<A> _previousDayPrices;
private void PrintDebugPreviousDayPrice(DateTime date)
{
var str = "";
foreach (var d in _previousDayPrices.Take(2))
{
str += d.Price;
str += "-";
str += d.Date;
str += "-";
str += d.EuroExchangeRateDate;
str += "-";
str += d.EuroExchangeRate;
str += ",";
}
}
これを行うためのlinqの方法は何ですか、または文字列のメソッドはありますか?