List<Node> resultList = new List<Node>();
NodeEqualityComparer comparer = new NodeEqualityComparer();
foreach (Vector3 move in moveList)
{
foreach (Node sight in sightList)
{
if (comparer.Equals((Vector3)sight.position, move))
resultList.Add(sight);
}
}
我該如何改變這個源代碼到linq中?我應該如何將此源代碼轉換爲LINQ?