Advertisement
Fleshian

String Input Code Snipp

Apr 19th, 2014
499
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.84 KB | None | 0 0
  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>str</Title>
  8.       <Description>Code snippet for creating string variable waiting for user input</Description>
  9.       <Author>Dean Dachev</Author>
  10.       <Shortcut>str</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.           <ToolТip>Name of the variable</ToolТip>
  23.           <Default>name</Default>
  24.         </Literal>
  25.       </Declarations>
  26.  
  27.       <Code Language="CSharp">
  28.         <![CDATA[string $name$ = Console.ReadLine();
  29.                $end$]]>
  30.       </Code>
  31.     </Snippet>
  32.   </CodeSnippet>
  33. </CodeSnippets>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement