如果安装在C盘,则是如下位置:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ItemTemplates\CSharp\Code\1033\Class

可增加public修饰符,让每次新增类不用再手动增加public;

也可以修改默认的using

 

using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
$endif$using System.Text;
$if$ ($targetframeworkversion$ >= 4.5)using System.Threading.Tasks;
$endif$
namespace $rootnamespace$
{
    public class $safeitemrootname$
    {
    }
}

相关文章:

  • 2022-01-21
  • 2021-11-23
  • 2021-11-19
  • 2022-02-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-12-19
  • 2022-12-23
  • 2022-01-01
  • 2021-09-04
相关资源
相似解决方案