当前位置:
代码迷
>>
综合
>> 查找出数组中符合某一条件的数组索引
详细解决方案
查找出数组中符合某一条件的数组索引
热度:
35
发布时间:
2024-01-21 03:16:05.0
数组.Select((s, i) => new { value = s, index = i }).Where(x => x.value.Contains(所含字符串));
相关解决方案