ThreadPool.QueueUserWorkItem(o => FireAway());
(five years later…)
Task.Run(() => FireAway());
as pointed out by luisperezphd.
More Related Contents:
- How to convert UTF-8 byte[] to string
- Impossible to use ref and out for first (“this”) parameter in Extension methods?
- Regular expression to remove HTML tags
- Token based authentication in Web API without any user interface
- Sometimes adding a WCF Service Reference generates an empty reference.cs
- Automapper: Update property values without creating a new object
- Filter/Search using Multiple Fields – ASP.NET MVC
- How does foreach work when looping through function results?
- Is it OK to use a string as a lock object?
- HashSet that preserves ordering
- .Net and Bitmap not automatically disposed by GC when there is no memory left
- Blocking dialogs in .NET WebBrowser control
- ASP.NET MVC – How to show unauthorized error on login page?
- Best way to handle Integer overflow in C#?
- How can user resize control at runtime in winforms
- Is there a tool for finding unreferenced functions (dead, obsolete code) in a C# app? [closed]
- Date vs DateTime
- MySql Last Insert ID, Connector .net
- Timer, event and garbage collection : am I missing something?
- Simple animation using C#/Windows Forms
- DbContext discard changes without disposing
- center MessageBox in parent form [duplicate]
- Ignoring white space for a Regex match
- The model item passed into the dictionary is of type ‘mvc.Models.ModelA’ but this dictionary requires a model item of type ‘mvc.Models.ModelB‘
- Why does “\n” give a new line on Windows?
- Which objects can I use in a finalizer method?
- how to handle spaces in file path if the folder contains the space?
- Can I reuse HttpWebRequest without disconnecting from the server?
- Parsing field name with a colon in JSON
- PostMessage WM_KEYDOWN send multiply keys?