Dont return and linq on the same line

less than 1 minute read

Just a little tip for writing a friendlier code.
If you're method returns an expression, first assign it to a variable and then return him.
It'll be much easier to debug inside this method and fetch all results when watching this variable.

That's it !

Tags:

Updated:

Comments