<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>cr</Title>
<Shortcut>cr</Shortcut>
<Description>Console.ReadLine 的代码段</Description>
<Author>Microsoft Corporation</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal Editable="false">
<ID>SystemConsole</ID>
<Function>SimpleTypeName(global::System.Console)</Function>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[$SystemConsole$.ReadLine();$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
C:\Program Files\Microsoft Visual Studio 10.0\VC#\Snippets\2052\Visual C# 一般在这个目录,后缀和里面的一样。
上面是自己添加的,输入cr可以自动打出,Console.ReadLine(),供参考!
|