-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsolereadline.snippet
29 lines (29 loc) · 1.11 KB
/
consolereadline.snippet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>crr</Title>
<Author>mapgiedev</Author>
<Shortcut>crr</Shortcut>
<Description>Code snippet for Console.ReadLine</Description>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>input</ID>
<ToolTip>variable for console input</ToolTip>
<Default>input</Default>
</Literal>
<Literal Editable="false">
<ID>SystemConsole</ID>
<Function>SimpleTypeName(global::System.Console)</Function>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[var $input$ = $SystemConsole$.ReadLine();$end$]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>