一,类模板制作:

路径:C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplatesCache\CSharp\Code\2052\Class.zip

操作:打开Class.cs文件,编辑内容如下:

// <copyright file="$safeitemname$.cs" company="fengjin">
// 创建时间:       $time$
// </copyright>

using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
$endif$using System.Text;

namespace $rootnamespace$
{
     /// <summary>
    /// $itemname$类
    /// </summary>
    public class $safeitemrootname$
    {
    }
}
View Code

相关文章:

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