请教一个数组查找问题
DIM 数组() as Integer={0,1,2,3,4,,5,6,7,8,9,10,100,101,102,200,201,202....}
用什么办法才能获得 匹配100,101,102 这个3个数组的开始位置
[解决办法]
DIM 数组() as Integer={0,1,2,3,4,,5,6,7,8,9,10,100,101,102,200,201,202....}
Dim i As Integer = 数组.Select(Function(x, i) New With { .x, .i }).First(Function(x) x.x = 100).i
MsgBox i