C# 提取逗号分割的字符串

   string s = "11,222,3";
   List<string> list = new List<string>(s.Split(','));

结果是list[0]=11;list[1]=222,list[3]=3

记录一下,备用

相关文章: