How to get Resharper to convert back to a foreach loop
问题 Resharper 5 can convert my foreach loops to Linq queries. Which I like. But linq is way way way harder to debug than a foreach loop. When I convert my foreach statement to a linq query, I don't see any option to go back the other way. Does any one know how to do this? Is it even possible? 回答1: We are working on LINQ2Foreach (and some other) functionality for ReSharper vNext 回答2: I do not believe this is possible. Certainly, it's not listed in the examples of Quick Fixes, where loop-to-LINQ