Posted By

hobeau43 on 02/09/12


Tagged


Versions (?)

A test snippet


 / Published in: XML
 

a test C# code snippet

  1. <CodeSnippets
  2. xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  3. <CodeSnippet Format="1.0.0">
  4. <Header>
  5. <Title>
  6. If Else
  7. </Title>
  8. <Shortcut>ifel</Shortcut>
  9. <Author>Beau Brownlee</Author>
  10. </Header>
  11. <Snippet>
  12. <Declarations>
  13. <Literal>
  14. <ID>Evaluation</ID>
  15. <ToolTip>The code to evaluate as true or false</ToolTip>
  16. </Literal>
  17.  
  18. </Declarations>
  19. <Code Language="CSharp">
  20. <![CDATA[
  21. if ($Evaluation$)
  22. {
  23. $end$
  24. }
  25. else
  26. {
  27.  
  28. }
  29. ]]>
  30. </Code>
  31. </Snippet>
  32. </CodeSnippet>
  33. </CodeSnippets>

Report this snippet  

You need to login to post a comment.