Skip to content

Instantly share code, notes, and snippets.

@iguigova
Created April 30, 2012 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iguigova/2563071 to your computer and use it in GitHub Desktop.
Save iguigova/2563071 to your computer and use it in GitHub Desktop.
new Thread template
Thread thread = new Thread(() =>
{
try
{
<func_name>(<func_parms>);
}
catch (Exception ex) { <exception_handling> }
});
thread.Start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment