ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Code Syntax Style: Modifiers

Last modified: 21 July 2022

C# modifiers of types and type members can be written in any order. However, arranging them in a similar way throughout your code is a good practice, which improves code readability. Besides, you may prefer using or not using private and internal modifiers explicitly.

ReSharper helps you arrange modifiers in the existing code and takes your preferences into account when it produces new code with code completion and code generation features, applies code templates and performs refactorings.

This feature is supported in the following languages and technologies: