I'm trying to convert a string to list<string> :
Code:private List<string> removestopword(string input) { var Listtokens = from s in input.Split(' ') where s.Length > 3 && !stopWordsList.Contains(s) select s.ToList(); return Listtokens; }
but it doesn't work . can anyone help? thanks




Reply With Quote