Is there any C# naming convention for a variable used in a property?

后端 未结 12 1892
无人及你
无人及你 2021-01-31 07:26

Let\'s say, we have a variable, which we want named Fubar

Let\'s say that Fubar is a String!

That means, we would define F

12条回答
  •  忘掉有多难
    2021-01-31 08:26

    While most developers follow Microsoft's guideline, as game developers, we follow Unity's style as (one of the script source code here):

    static protected Material s_DefaultText = null;
    protected bool m_DisableFontTextureRebuiltCallback = false;
    public TextGenerator cachedTextGenerator { ... }
    

提交回复
热议问题