

Prefer out variables to be declared before the method call Prefer out variables to be declared inline in the argument list of a method call when possible csharp_style_inlined_variable_declaration Property The associated option for this rule specifies whether you prefer out variables to be declared inline or separately.įor more information about configuring options, see Option format.

Starting in C# 7, you can declare an out variable in the argument list of a method call, rather than in a separate variable declaration. This style rule concerns whether out variables are declared inline or not. Language rules (expression-level preferences)Ĭsharp_style_inlined_variable_declaration
