logo

Crowdly

Browser

Add to Chrome

public class DbLazyProxy : IDb { private IDb? _real; private readonly strin...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

public class DbLazyProxy : IDb

{

private IDb? _real; private readonly string _cs;

public DbLazyProxy(string cs)=>_cs=cs;

private IDb Real=>_real ??= new SqlDb(_cs);

public int Query(string q)=>Real.Query(q);

}

Головна вигода DbLazyProxy:

0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on do.ipo.kpi.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome