I'm using linq on a array and I need to find the index of the linq result. Is this possible? how?
My thanks in advanced.
This is my code:
Vector3[] vertices=mesh.vertices;
var V3=(from cur in vertices
where (cur.x==point.PointX) && (cur.y==point.PointY)
select cur).FirstOrDefault();