using System.Collections.Generic; namespace MinesweeperSolver { class SolverActionHeader { public readonly IList solverActions; public readonly IList deadActions; public SolverActionHeader() { List empty = new List(); this.solverActions = empty.AsReadOnly(); this.deadActions = empty.AsReadOnly(); } public SolverActionHeader(List solverActions, List deadActions) { this.solverActions = solverActions.AsReadOnly(); this.deadActions = deadActions.AsReadOnly(); } } }