string tags = \"9,3,12,43,2\" List TagIds = tags.Split(\',\');
This doesn\'t work cause the split method returns a string[]
string tags = "9,3,12,43,2"; List TagIds = tags.Split(',').Select(int.Parse).ToList();