Pascal casing or Camel Casing for C# code?

后端 未结 14 1034
终归单人心
终归单人心 2020-12-05 17:17

I\'ve been arguing with my coworkers about Pascal casing (upper camel case) vs. lower CamelCasing. They are used to lower camel casing for everything from table names in SQL

14条回答
  •  粉色の甜心
    2020-12-05 18:19

    A link to the official design guidelines might help. Specifically, read the section on Capitalization styles.

    In the grand scheme of things, Pascal vs Camel doesn't matter that much and you're not likely to convince anyone to go back over an existing code base just to change the case of names. What's really important is that you want to be consistent within a given code base.

    I'm just happy as long as you're not using Hungarian.

提交回复
热议问题