Any reason to write the “private” keyword in C#?

后端 未结 9 589
梦谈多话
梦谈多话 2020-12-04 18:54

As far as I know, private is the default everywhere in C# (meaning that if I don\'t write public, protected, internal

9条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 19:16

    Readability, demonstration of intent are two great reasons I can think of.

提交回复
热议问题