public string[] getStopWords() { string[] stopWordArray = null; int itemCount = lbStopWords.Items.Count; for (int i = 0; i < itemCount; i++) { stopWordArray[i] = (string)lbStopWords.Items[i]; } return stopWordArray; }
public string[] getStopWords() { string[] stopWordArray = new string[lbStopWords.Items.Count]; int itemCount = lbStopWords.Items.Count; for (int i = 0; i < itemCount; i++) { stopWordArray[i] = lbStopWords.Items[i].ToString(); } return stopWordArray; }
public string[] getStopWords() { string[] stopWordArray = new string[listBox1.Items.Count]; listBox1.Items.CopyTo(stopWordArray,0); return stopWordArray; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)