✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
protected override IReport CreateReport(int id) =>
_cache.GetOrAdd(id, i => new HeavyReport(i));
Чим небезпечне кешування у фабричному методі?