C# Field Naming Guidelines?

后端 未结 17 1318
天命终不由人
天命终不由人 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:18

    private string baseName; 
    private string prefixName; 
    private string suffixName; 
    
    public GameItem(string _baseName, string _prefixName, string _suffixName) 
    { 
        this.baseName = _baseName; 
        this.prefixName = _prefixName; 
        this.suffixName = _suffixName; 
    } 
    

提交回复
热议问题