Dont return and linq on the same line

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 !

Comments

Popular Posts