Advertisement
Fleshian

Int Parse Read code snipp

Apr 19th, 2014
973
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>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.  
  27.       <Code Language="CSharp">
  28.         <![CDATA[int $name$ = int.Parse(Console.ReadLine());
  29.                $end$]]>
  30.       </Code>
  31.     </Snippet>
  32.   </CodeSnippet>
  33. </CodeSnippets>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement