Created
October 12, 2016 06:53
-
-
Save lennartb-/2efe2f92644453913c232f8b0a0d442b to your computer and use it in GitHub Desktop.
Visual Studio C# Snippet to insert Console.WriteLine with basic String interpolation syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>cws</Title> | |
<Shortcut>cws</Shortcut> | |
<Description>Code snippet for Console.WriteLine with String interpolation</Description> | |
<Author>Microsoft Corporation/lennartb</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal Editable="false"> | |
<ID>SystemConsole</ID> | |
<Function>SimpleTypeName(global::System.Console)</Function> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp"><![CDATA[$SystemConsole$.WriteLine($$"$end$");]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment