public void recordInTable(string type, string word, string label) { Formula f = new Formula(type, word, label); for(int i = 0;i < table.Count;++i) { if(table[i].value == word) return; } table.Add(f); fo.writeStringToFile("BiTable.txt", f.convertToString()); }