请教用","隔开的字符,如何取个数请教用","隔开的字符,如何取个数如下:string test = "1,18,33,50,100";如何统计test的里面的字符个数(现在是5个),","除外[解决办法]int cnt=test.Split(',').Length;