数组.Select((s, i) => new { value = s, index = i }).Where(x => x.value.Contains(所含字符串));
查找出数组中符合某一条件的数组索引
最新推荐文章于 2024-05-11 04:45:00 发布
数组.Select((s, i) => new { value = s, index = i }).Where(x => x.value.Contains(所含字符串));