public void addData(string header, string value) { var cell = new PitData() { dataHeader = header, data = value }; dataList.Add(cell); }
public void addData(PitData cell) { dataList.Add(cell); }