在 Visual Studio 中创建代码片段snippet在桌面或者任何位置创建一个文件:名字随便起:main.snippet?xml version="1.0"encoding="utf-8"?CodeSnippets xmlns=