.NET naming convention for “ID” (anything identification: Capitalization)

前端 未结 7 793
情歌与酒
情歌与酒 2021-01-31 08:52

I am in the process of unifying these inconsistent naming conventions and this one problem has been a bit driving me crazy lately.

In the code base I am working with has

7条回答
  •  一整个雨季
    2021-01-31 09:16

    Capitalization is for 2 letters acronyms. UI, IP, etc.

    "Id" is an abbreviation for Identifier, so it should stay pascal cased.

提交回复
热议问题