✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
public class Sum : Expr
{
private readonly Expr _l, _r;
public Sum(Expr l, Expr r)=>(_l,_r)=(l,r);
public override int Eval(Context c) => _l.Eval(c) + _r.Eval(c);
}
Що демонструє клас Sum?