Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <CodeSnippets
- xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
- <CodeSnippet Format="1.0.0">
- <Header>
- <Title>int.Parse(Console.ReadLine())</Title>
- <Author>Myself</Author>
- <Description>Reads string and parses it to int</Description>
- <Shortcut>par</Shortcut>
- </Header>
- <Snippet>
- <Declarations>
- <Literal>
- <ID>type</ID>
- <ToolTip>Type to parse</ToolTip>
- <Default>int</Default>
- </Literal>
- <Literal>
- <ID>expression</ID>
- <ToolTip>Expression to evaluate</ToolTip>
- <Default>Console.ReadLine()</Default>
- </Literal>
- </Declarations>
- <Code Language="csharp">
- <![CDATA[$type$.Parse($expression$);]]>
- </Code>
- </Snippet>
- </CodeSnippet>
- </CodeSnippets>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement