string[] datas = s.Split(' ');
List<string> words = new List<string>();
List<int> numbers = new List<string>();
foreach(string temp in datas)
{
bool check = int32.TryParse(temp);
if
(check)
{
numbers.Add(int.parse(temp));
}else
{
words.Add(temp);
}
}
น่าจะประมาณนี้ ครับ ไม่ได้ลองใน visual อาจผิดพลาดบ้าง แต่น่าจะแนวทางนี้ครับ