While watching the video, it was found that each time a new class file was created in the video, a string of headers was automatically generated:
So Baidu a bit: http://jingyan.baidu.com/article/3aed632e649d8570108091a7.html
Oh, that's it!
vs2013 installation path: D:\vs2013\Common7\IDE\ItemTemplatesCache in various language templates
Find CSharp and enter.
And see this http://www.cnblogs.com/kingboy2008/archive/2012/05/12/2857489.html also quite detailed.
The characters between the "$" symbols in the code are the variables of the template, and the meanings of the variables refer to:
/* time$ Date $year $ year $clrversion $ CLR version $GUID $ to replace the GUID of the project GUID in the project file. You can specify a maximum of 10 unique GUIDs (for example, GUID1). $itemname the name provided by the user in the dialog box. $machinename The current computer name (for example, Computer01). $projectname the name provided by the user in the dialog box. the registry key value in the $registeredorganization $ hklm\software\microsoft\windows nt\currentversion\registeredorganization. $rootnamespace $ The root namespace of the current project. This parameter is used to replace the namespace in the item that is added in the forward project. $safeitemname The name that is provided by the user in the Add New Item dialog box, removing all unsafe characters and spaces from the name. $safeprojectname The name that is provided by the user in the New Project dialog box, removing all unsafe characters and spaces from the name. $time $ The current time in dd/mm/yyyy 00:00:00 format. $userdomain $ The current user domain. */
VS2013 Add File Header comment Template