Code inspection: Arrange accessors order
The get, set, and init accessors of C# properties can be written in any order. Same with the add and remove accessors of C# event handlers. However, arranging the accessors in a similar way throughout your code is a good practice, which improves code readability.
This inspection helps you maintain the uniform accessor order where get is always defined before set or init, and add is defined before remove
10 March 2026