Closed bkoelman closed 5 years ago
AV2220 (Avoid LINQ for simple expressions):
Since LINQ queries should be written out over multiple lines for readability, the second example is a bit more compact.
AV2400 (Use a common layout):
Put the entire LINQ statement on one line, or start each keyword at the same indentation, like this
AV2220 (Avoid LINQ for simple expressions):
AV2400 (Use a common layout):