Skip to content

Instantly share code, notes, and snippets.

@cemerson
Created October 5, 2012 18:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cemerson/3841364 to your computer and use it in GitHub Desktop.
Save cemerson/3841364 to your computer and use it in GitHub Desktop.
C#: NEW FUNCTION (Void)
/* ---------------------------------------- /
/ MY_FUNCTION_NAME()
/ --------------------------------------- */
public void MY_FUNCTION_NAME(string param1){
try{
// function code here
}catch(Exception ex){
utils.SendDeveloperEmail("Server Error [MY_FUNCTION_NAME(param1:'" + param1 + "')]",ex);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment