SHOW:
|
|
- or go back to the newest paste.
1 | <?xml version="1.0" encoding="utf-8" ?> | |
2 | <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/CodeSnippet"> | |
3 | <CodeSnippet Format="1.0.0"> | |
4 | ||
5 | <Header> | |
6 | ||
7 | <Title>ipr</Title> | |
8 | <Description>Code snippet for creating int variable waiting for user input</Description> | |
9 | - | <Author>Dean Dachev</Author> |
9 | + | <Author>Deyan Dachev</Author> |
10 | <Shortcut>ipr</Shortcut> | |
11 | <SnippetTypes> | |
12 | <SnippetType>Expansion</SnippetType> | |
13 | </SnippetTypes> | |
14 | ||
15 | </Header> | |
16 | ||
17 | <Snippet> | |
18 | ||
19 | <Declarations> | |
20 | <Literal > | |
21 | <ID>name</ID> | |
22 | <Tooltip>Name of the variable</Tooltip> | |
23 | <Default>name</Default> | |
24 | </Literal> | |
25 | </Declarations> | |
26 | - | <!-- Sepecify the code language and the actual snippet content. --> |
26 | + | |
27 | <Code Language="CSharp"> | |
28 | <![CDATA[int $name$ = int.Parse(Console.ReadLine()); | |
29 | $end$]]> | |
30 | </Code> | |
31 | </Snippet> | |
32 | </CodeSnippet> | |
33 | </CodeSnippets> |