init
This commit is contained in:
13
snippets/csharp-mode/trycatch
Normal file
13
snippets/csharp-mode/trycatch
Normal file
@@ -0,0 +1,13 @@
|
||||
# -*- mode: snippet -*-
|
||||
# contributor : Frede Brændstrup <frederikbraendstrup@gmail.com>
|
||||
# name: try{...} catch (ex) {...}
|
||||
# key: tc
|
||||
# --
|
||||
try
|
||||
{
|
||||
$0
|
||||
}
|
||||
catch (${1:Exception} ex)
|
||||
{
|
||||
${2:Console.WriteLine(ex.ToString());}
|
||||
}
|
||||
Reference in New Issue
Block a user