initial commit

This commit is contained in:
2022-02-19 21:59:54 -06:00
commit 614c7d2e02
2 changed files with 194 additions and 0 deletions

30
window.cs Normal file
View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using sections;
namespace window
{
public class Display
{
Dictionary<int, Section> sectionList;
public Display () {
sectionList = new Dictionary<int, Section>();
}
public void AddSection(Section section) {
sectionList.Add(sectionList.Count,section);
}
public void Present() {
Console.Clear();
foreach (Section section in sectionList.Values) {
section.Write();
}
}
}
}