List<decimal> numbers = (@"1.3 ,2.5 ,3.32, 4.22 4 ,0.425,6.43 ,7.23 ,8, 9").Replace("\r\n","") .Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries) .Select(Decimal.Parse) .ToList();
标签:1.3,c#,char,Split,拆分,split From: https://www.cnblogs.com/weifeng123/p/17283443.html