Skip to content

Instantly share code, notes, and snippets.

@alex-mtx
Last active November 14, 2019 06:30
Show Gist options
  • Save alex-mtx/9a6308c362c333e4bf50ff47b8486e98 to your computer and use it in GitHub Desktop.
Save alex-mtx/9a6308c362c333e4bf50ff47b8486e98 to your computer and use it in GitHub Desktop.
Console.ReadLine() shortcut
<!-- save it under %USERPROFILE%\Documents\Visual Studio 2015\Code Snippets\Visual C#\My Code Snippets. -->
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>Insert Console.ReadLine()</Title>
<Shortcut>crl</Shortcut>
<Description>Code snippet for Console.ReadLine</Description>
<Author>Stack Overflow User</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$.ReadLine();]]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment