protected virtual void SetUpProgramInfo() { ProgramInfo = new ProgramInfo { Title = "", }; }
protected override sealed void SetUpProgramInfo() { ProgramInfo = new ProgramInfo { Title = "Checking key value pair is null", Description = "" }; }
protected override sealed void SetUpProgramInfo() { ProgramInfo = new ProgramInfo { Title = "Hello world program", Description = "Just a hello world" }; }
private static void SetUpDesignEnvironment(ProgramInfo programInfo) { Console.Title = programInfo.Title; Console.BackgroundColor = programInfo.BackgroundColor; Console.ForegroundColor = programInfo.ForegroundColor; Console.WindowWidth = programInfo.WindowWidth; Console.WindowHeight = programInfo.WindowHeight; }