C# Field Naming Guidelines?

后端 未结 17 1292
天命终不由人
天命终不由人 2020-12-02 16:37

I am going to be working on a bit of C# code on my own but I want to make sure that I follow the most widely accepted naming conventions in case I want to bring on other dev

17条回答
  •  伪装坚强ぢ
    2020-12-02 17:21

    I too had doubts about this and then I decided check github codes of Microsoft. All most every source code I've looked at had underscore usage for private fields.

    https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/ document does not seem to mention about this usage.

提交回复
热议问题