Two code style for private/puublic property
How I can config code stile. I have two value (Property) and on public property I need first later big and on private first later start from "_"
What rules I need prepare in code stile?
Не как не могу настроить Code Style под C# так чтобы приватная публичная начиналась с большой буквы а вот приватная с подчеркиванием.

public string Bbbbb { get; set; }
private string _aaaaa { get; set; }
Please sign in to leave a comment.
Hello Viktor,
Thank you for contacting Rider support.
This is a known problem and we have the following open issue on our tracker:
We would appreciate it if you could upvote it to demonstrate your interest.
For the public properties, you can edit the C# | Naming Rules | Properties options in Rider settings.
Creating a rule for private property is not possible through Rider UI, but it can be done by editing the .DotSettings file or via ReSharper.
There are three options where you can put your custom rule: (see the Layer Settings article in Rider documentation)
You can generate .DotSettings file corresponding to Team-shared or Personal layers by pressing Save | Solution {} {layer} (see the screenshot attached). It would be saved next to your .sln file.
The .DotSettings has the following structure:
To add naming rule for private properties, you would need to add the following entry between <wpf ...> </wpf> tags in desired .DotSettings file
If you have Visual Studio with ReSharper, you can configure these settings by yourself and:
You can also describe the exact naming rules to me, so that I can share the exact entries you should paste into your .DotSettings file.
Hope that helps.
If there is anything else I can assist you with or you have any other questions or difficulties, please let me know.
Have a nice day!