public static void addToO() { for(int i =0; i < rText.Count; i++) { Sentence s = new Sentence(); s.setSent(sentC[i].ToString()); s.setText(rText[i].ToString()); s.setAID(tID[i]); s.setSID(sID[i]); if (sentC[i].ToString().Equals("Negative")) { ns.Add(s); } else { ps.Add(s); } } }