✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
public class LazyDbAdapter : IDb
{
private readonly Lazy
_db = new(() => new LegacyDb());
public int Get(int id) => _db.Value.Read(id);
}
Яку додаткову вигоду дає цей Adapter?