C# 在 Visual Studio Snippet 中插入当前日期时间
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1029189/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Insert current datetime in Visual Studio Snippet
提问by Scott Ivey
Does anyone know of a way that I can insert the current date & time in a visual studio 2008 snippet? What I want is something like this in the body of my .snippet file...
有谁知道我可以在 Visual Studio 2008 片段中插入当前日期和时间的方法吗?我想要的是我的 .snippet 文件正文中的类似内容...
<Code Language="csharp">
<
