0

Example before code cleanup:

Action a = () =>
{
    Console.WriteLine();
}

After cleanup by Resharper:

Action a = () => { Console.WriteLine(); }

But I prefer the first style, how to set Resharper to prevent it wrap the method body in the same line?

1 Answer 1

0

I got it.

Place simple anonymous method on single line

Screenshot

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .