Skip to content

Instantly share code, notes, and snippets.

@fr3fou
Last active July 12, 2018 14:16
Show Gist options
  • Save fr3fou/e7aab96026f4ce6f0e38cfa85367828e to your computer and use it in GitHub Desktop.
Save fr3fou/e7aab96026f4ce6f0e38cfa85367828e to your computer and use it in GitHub Desktop.
{
"Parse int from console.": {
"prefix": "icr",
"body": [
"int.Parse(Console.ReadLine());",
"$1"
],
"description": "Parses int from console."
},
"Parse double from console.": {
"prefix": "dcr",
"body": [
"double.Parse(Console.ReadLine());",
"$1"
],
"description": "Parses double from console."
},
"Read string from console.": {
"prefix": "cr",
"body": [
"Console.ReadLine();",
"$1"
],
"description": "Reads a string from console."
},
"Print to console": {
"prefix": "cw",
"body": [
"Console.WriteLine($1)"
],
"description": "Prints output to console"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment