Is the #region directive really useful in .NET?

后端 未结 17 1903
孤城傲影
孤城傲影 2021-01-03 23:43

After maintaining lots of code littered with #region (in both C# and VB.NET), it seems to me that this construct is just a bunch of \"make work\" for the programmer. It\'s w

17条回答
  •  时光说笑
    2021-01-04 00:12

    My working day starts with opening files in editor and clicking on "Expand All" to hide all regions. After that I can begin to work.

提交回复
热议问题