How to set the rules for naming ReSharper variables so that they allow underlining?

Whenever I use a variable name that denotes the primary key as

int pk_MyObject = GetPrimaryKey(myObject)

ReSharper complains about pk_MyObject and offers me to rename it pkMyObject.

How to add a new rule to ReSharper so that it does not complain about variable names like xx_YYYYY ?

+3
source share
1 answer

Resharper> Options> Languages> C #> C # name style> Overriding user preferences and then editing the objects you want.

. ReSharper 5.1. , -, 4.5

. bdd Resharper 4.5?

+3

Source: https://habr.com/ru/post/1760251/


All Articles