logo

Crowdly

Browser

Add to Chrome

public class Macro : ICommand { private readonly IReadOnlyList _list; ...

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

public class Macro : ICommand

{

private readonly IReadOnlyList

_list;

public Macro(params ICommand[] cmds) => _list = cmds;

public void Execute() => _list.ToList().ForEach(c => c.Execute());

}

Правильне твердження:

0%
0%
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