Why does StyleCop recommend prefixing method or property calls with “this”?

前端 未结 9 2124
孤街浪徒
孤街浪徒 2020-11-27 04:15

I have been trying to follow StyleCop\'s guidelines on a project, to see if the resulting code was better in the end. Most rules are reasonable or a matter of opinion on cod

9条回答
  •  时光说笑
    2020-11-27 04:37

    I follow it mainly for intellisense reasons. It is so nice typing this. and getting a consise list of properties, methods, etc.

提交回复
热议问题