Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The @ sign in C# allows you to split verbatim string literals over multiple lines.
const string STR_PasteText = "PasteText.exe";
Console.Out.WriteLine(@"{0} [/?|-?|/h|-h|--help] [/r|-r|--raw]
pastes Clipboard.GetText() or Clipboard.GetFileDropList() to the standard output
Optional arguments:
/?|-?|/h|-h|--help:
shows this help
/r|-r|--raw:
pastes raw text (default: pastes text as is)
Example:
{0} | clip.exe
pastes the text through clip.exe, effectively stripping any formatting.", STR_PasteText);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment