如何在 C# 中删除多个数组的零数量(全部为字符串类型)的随机行?请打码!:))
例如:索引代码、颜色、数量、RetailPrice、WholeSalePrice
0 1002, red, 0, 150, 100
1 1003, blue, 0, 160, 100
2 1004, yellow, 3, 180, 130
3 1004, green, 6, 140, 103
4 1008, pink, 8, 200, 140
5 1008, black, 0, 200, 140
6 1008, white, 0, 200, 140
7 1008, blue, 0, 200, 140
8 1008, purple, 4, 200, 140
9 1009, light blue, 2, 280, 210
10 1000, stripe, 4, 170, 115
11 1003, white, 2, 230, 175
12 1009, white, 2, 230, 175
13 1001, white, 0, 230, 175
14 1000, black, 0, 230, 175
结果:索引代码、颜色、数量、零售价格、批发价格
1 1004, yellow, 3, 180, 130
2 1004, green, 6, 140, 103
3 1008, pink, 8, 200, 140
4 1008, purple, 4, 200, 140
5 1009, light blue, 2, 280, 210
6 1000, stripe, 4, 170, 115
7 1003, white, 2, 230, 175
8 1009, white, 2, 230, 175
任何人都可以帮忙吗?