public void ReadQAs(StreamReader rawText) { categories = new List <QACategory>(10); RemoveNonessentialLines(rawText); while (false == rawText.EndOfStream) { QACategory temp = new QACategory(rawText); categories.Add(temp); RemoveNonessentialLines(rawText); } }
public void ReadQAs(StreamReader rawText) { categories = new List<QACategory>(10); RemoveNonessentialLines(rawText); while(false == rawText.EndOfStream) { QACategory temp = new QACategory(rawText); categories.Add(temp); RemoveNonessentialLines(rawText); } }