1

is there any ways to accomplish this? it is really annoying having to restart every time.

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454
Luiscencio
  • 3,855
  • 13
  • 43
  • 74
  • 1
    If you're using the function chaining version of linq instead of the `from ... where ... select ...` version, try declaring the delegates as proper functions and referring to them by name so the compiler doesn't have to auto-generate them. – Blindy Oct 08 '09 at 18:32

1 Answers1

5

No this is not possible. C# does not allow ENC anywhere in a method which contains a LINQ expression. VB.Net allows you to edit within the same method as a LINQ expression as long as you don't actually edit the structure of the LINQ query.

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454