Reputation: 31
The line is:
foreach (var handle in EnumerateProcessWindowHandles(
Process.GetProcessesByName("explorer").First().Id))
But First does not exist:
Error 1 'System.Array' does not contain a definition for 'First' and no extension method 'First' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?)
Upvotes: 0
Views: 312